public static void Pathfind( object state )
{
object[] states = (object[])state;
Mobile from = (Mobile) states[0];
Direction d = (Direction) states[1];
try
{
from.Direction = d;
from.NetState.BlockAllPackets=true;
from.Move( d );
from.NetState.BlockAllPackets=false;
from.ProcessDelta();
}
catch
{
}
}