public override void OnEnabled() { base.OnEnabled(); EventHandlers = new EventHandlers(this); DistanceLogic = new DistanceLogic(this); Exiled.Events.Handlers.Player.Shot += EventHandlers.OnLateShoot; }
public override void OnDisabled() { Exiled.Events.Handlers.Player.Shot -= EventHandlers.OnLateShoot; EventHandlers = null; DistanceLogic = null; }