public override void Disable() { ServerEvent.Start -= handler.OnRoundStart; CustomConfigs.Remove(CustomConfig); handler = null; Singleton = null; }
public override void Enable() { CustomConfigs.Add(CustomConfig); if (!CustomConfig.IsEnabled) { return; } Singleton = this; handler = new Handler(CustomConfig); ServerEvent.Start += handler.OnRoundStart; }