public override void OnDoubleClick( Mobile from ) 
      { 
         SplitCoconut SplitCoconut = new SplitCoconut(); 

         if ( !from.AddToBackpack( SplitCoconut ) ) 
            SplitCoconut.Delete(); 
      } 
Exemple #2
0
        public override void OnDoubleClick(Mobile from)
        {
            SplitCoconut SplitCoconut = new SplitCoconut();

            if (!from.AddToBackpack(SplitCoconut))
            {
                SplitCoconut.Delete();
            }
        }