Skip to content

Commit

Permalink
Patch.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vretu-Dev authored Sep 21, 2024
1 parent 4f9d635 commit 73d1e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UsefulHints/Patches/Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructio
newInstructions.InsertRange(index, new CodeInstruction[2]
{
new CodeInstruction(OpCodes.Ldloc_S, 12),
new CodeInstruction(OpCodes.Call, AccessTools.Method(typeof(Patch), nameof(EnableEffect), new[] { typeof(HitboxIdentity) }))
new CodeInstruction(OpCodes.Call, AccessTools.Method(typeof(Patch), nameof(EnableEffect), new Type[1] { typeof(HitboxIdentity) }))
});
for (int z = 0; z < newInstructions.Count; z++)
{
Expand Down

0 comments on commit 73d1e79

Please sign in to comment.