Example #1
0
        public override void OnEnabled()
        {
            if (!Config.IsEnabled)
            {
                return;
            }

            base.OnEnabled();

            Singleton    = this;
            PlayerEvents = new PlayerEvents(this);

            Handlers.Player.Dying += PlayerEvents.OnPlayerDeath;
        }