public static void EquipReq( NetState state, PacketReader pvSrc )
{
Mobile from = state.Mobile;
Item item = from.Holding;
bool valid = ( item != null && item.HeldBy == from && item.Map == Map.Internal );
from.Holding = null;
if ( !valid ) {
return;
}
pvSrc.Seek( 5, SeekOrigin.Current );
Mobile to = World.FindMobile( pvSrc.ReadInt32() );
if ( to == null )
to = from;
if ( !to.AllowEquipFrom( from ) || !to.EquipItem( item ) )
item.Bounce( from );
item.ClearBounce();
}