public override void Delete() { if (Owner != null && PlantStatus < PlantStatus.DecorativePlant) { MaginciaPlantSystem.OnPlantDelete(Owner, Map); } base.Delete(); }
public static void OnPlantDelete(Mobile owner, Map map) { if (owner == null || map == null) { return; } if (map == Map.Trammel) { m_TramInstance.OnPlantDelete(owner); } else if (map == Map.Felucca) { m_FelInstance.OnPlantDelete(owner); } }