public void UnRegister() { //Exiled.Events.Handlers.Scp914.UpgradingItems -= GulagEvent.OnUpgrading; Exiled.Events.Handlers.Server.SendingConsoleCommand -= swapEvent.onConsoleCommand; swapEvent = null; }
public void Register() { swapEvent = new Handlers.SwapEvent(); Exiled.Events.Handlers.Server.SendingConsoleCommand += swapEvent.onConsoleCommand; }