public static TryPackOpen ( |
||
animal | ||
from | Mobile | |
return | void |
public static void TryPackOpen( BaseCreature animal, Mobile from )
{
if ( animal.IsDeadPet )
return;
Container item = animal.Backpack;
if ( item != null )
from.Use( item );
}
public override void OnDoubleClick(Mobile from) { PackAnimal.TryPackOpen(this, from); }