public static void OnPlantPlanted(Mobile from, Map map) { if (map == Map.Felucca) { FelInstance.OnPlantPlanted(from); } else if (map == Map.Trammel) { TramInstance.OnPlantPlanted(from); } }
public static void OnPlantDelete(Mobile owner, Map map) { if (owner == null || map == null) { return; } if (map == Map.Trammel) { TramInstance.OnPlantDelete(owner); } else if (map == Map.Felucca) { FelInstance.OnPlantDelete(owner); } }