EndStable() public method

public EndStable ( Server.Mobile from, BaseCreature pet ) : void
from Server.Mobile
pet BaseCreature
return void
            protected override void OnTarget(Mobile from, object targeted)
            {
                if (targeted is BaseCreature)
                {
                    BaseCreature m_Creature = (BaseCreature)targeted;
                    if (!m_Creature.InLOS(from))
                    {
                        from.SendMessage("You cannot see your target.");
                    }

                    if (m_Creature.IsUndeadNPC() || m_Creature.IsDemonNPC())
                    {
                        m_Trainer.SayTo(from, "I won't stable that!");
                    }
                    else
                    {
                        m_Trainer.EndStable(from, (BaseCreature)targeted);
                    }
                }
                else if (targeted == from)
                {
                    m_Trainer.SayTo(from, 502672);                       // HA HA HA! Sorry, I am not an inn.
                }
                else
                {
                    m_Trainer.SayTo(from, 1048053);                       // You can't stable that!
                }
            }
 protected override void OnTarget(Mobile from, object targeted)
 {
     if (targeted is BaseCreature)
     {
         m_Trainer.EndStable(from, (BaseCreature)targeted);
     }
     else if (targeted == from)
     {
         m_Trainer.SayTo(from, 502672);                       // HA HA HA! Sorry, I am not an inn.
     }
     else
     {
         m_Trainer.SayTo(from, 1048053);                       // You can't stable that!
     }
 }