Broadcast creature movement while updating position.
This commit is contained in:
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
Reference in New Issue
Block a user