public override void OnDisabled() { EvPlayer.ItemDropped -= EventHandlers.OnItemDropped; EventHandlers = null; base.OnDisabled(); }
public override void OnEnabled() { EventHandlers = new EventHandlers(this); EvPlayer.ItemDropped += EventHandlers.OnItemDropped; base.OnEnabled(); }