Example #1
0
 public static void OnPlantPlanted(Mobile from, Map map)
 {
     if (map == Map.Felucca)
     {
         FelInstance.OnPlantPlanted(from);
     }
     else if (map == Map.Trammel)
     {
         TramInstance.OnPlantPlanted(from);
     }
 }
Example #2
0
        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);
            }
        }