We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cca4cef commit 7fd35e7Copy full SHA for 7fd35e7
EXILED/Exiled.Events/Patches/Events/Player/DamagingWindow.cs
@@ -40,7 +40,7 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
40
Label ret = generator.DefineLabel();
41
42
int offset = -5;
43
- int index = newInstructions.FindLastIndex(instruction => instruction.opcode == OpCodes.Newobj) + offset;
+ int index = newInstructions.FindIndex(instruction => instruction.opcode == OpCodes.Newobj) + offset;
44
45
newInstructions.InsertRange(
46
index,
0 commit comments