Server.Items.AddonComponent.OnChop C# (CSharp) Method

OnChop() public method

public OnChop ( Mobile from ) : void
from Mobile
return void
        public void OnChop(Mobile from)
        {
            if (m_Addon != null && from.InRange(GetWorldLocation(), 3))
                m_Addon.OnChop(from);
            else
                from.SendLocalizedMessage(500446); // That is too far away.
        }