From f7943672530246ff59b9127ac36eb20b7429eb9f Mon Sep 17 00:00:00 2001 From: Yamato Date: Sat, 10 Aug 2024 12:23:32 +0200 Subject: [PATCH] fIX --- .../Exiled.Events/Patches/Events/Scp330/InteractingScp330.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/EXILED/Exiled.Events/Patches/Events/Scp330/InteractingScp330.cs b/EXILED/Exiled.Events/Patches/Events/Scp330/InteractingScp330.cs index 6bff66c86..c8ff97d32 100644 --- a/EXILED/Exiled.Events/Patches/Events/Scp330/InteractingScp330.cs +++ b/EXILED/Exiled.Events/Patches/Events/Scp330/InteractingScp330.cs @@ -83,9 +83,8 @@ private static IEnumerable Transpiler(IEnumerable instruction.LoadsField(Field(typeof(ReferenceHub), nameof(ReferenceHub.playerEffectsController)))) + serverEffectLocationStart; - newInstructions[enableEffect].WithLabels(enableEffectLabel); - - newInstructions.InsertRange( + newInstructions[enableEffect].WithLabels(enableEffectLabel); + newInstructions.InsertRange( addShouldSeverIndex, new[] {