private void EventSink_PlayerDeath(PlayerDeathEventArgs e) { if (!this.Enabled || !Server.Core.AOS) { return; } FoodEffectModule module = e.Mobile.GetModule(typeof(FoodEffectModule)) as FoodEffectModule; if (module != null) { module.EffectExpired(true); } }
protected override void OnTick() { m_Module.EffectExpired(); }