From 443ae275f471f40891f9d9cd68c9f756323c55f1 Mon Sep 17 00:00:00 2001 From: x3rt Date: Tue, 6 Aug 2024 17:34:50 -0600 Subject: [PATCH] Get rid of useless Find Co-authored-by: Misaka-ZeroTwo <45165615+Misaka-ZeroTwo@users.noreply.github.com> --- .../Exiled.Events/Patches/Events/Scp939/PlacedAmnesticCloud.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.Events/Patches/Events/Scp939/PlacedAmnesticCloud.cs b/EXILED/Exiled.Events/Patches/Events/Scp939/PlacedAmnesticCloud.cs index cbc020683..ac224990f 100644 --- a/EXILED/Exiled.Events/Patches/Events/Scp939/PlacedAmnesticCloud.cs +++ b/EXILED/Exiled.Events/Patches/Events/Scp939/PlacedAmnesticCloud.cs @@ -45,7 +45,7 @@ private static IEnumerable Transpiler(IEnumerable x.opcode == OpCodes.Ret); + index = newInstructions.Count - 1; // Scp939.OnPlacedAmnesticCloud(new PlacedAmnesticCloudEventArgs(this.Owner, cloud)); newInstructions.InsertRange(