diff --git a/EXILED/Exiled.Events/Patches/Generic/RoomLightControllersList.cs b/EXILED/Exiled.Events/Patches/Generic/RoomLightControllersList.cs index 129585e26..d27b7d933 100644 --- a/EXILED/Exiled.Events/Patches/Generic/RoomLightControllersList.cs +++ b/EXILED/Exiled.Events/Patches/Generic/RoomLightControllersList.cs @@ -9,7 +9,6 @@ namespace Exiled.Events.Patches.Generic { using Exiled.API.Features; #pragma warning disable SA1313 -#pragma warning disable SA1402 using HarmonyLib; @@ -24,16 +23,4 @@ private static void Postfix(RoomLightController __instance) Room.Get(__instance.Room).RoomLightControllersValue.Add(__instance); } } - - /// - /// Patch for removing to list. - /// - [HarmonyPatch(typeof(RoomLightController), nameof(RoomLightController.OnDestroy))] - internal class RoomLightControllersList2 - { - private static void Postfix(RoomLightController __instance) - { - Room.Get(__instance.Room).RoomLightControllersValue.Remove(__instance); - } - } } \ No newline at end of file