Removed updatePosition broadcastMoveToLocation.
Thanks to Bandnentans.
This commit is contained in:
@@ -582,7 +582,7 @@ public abstract class AbstractAI implements Ctrl
|
||||
*/
|
||||
protected void moveTo(int x, int y, int z)
|
||||
{
|
||||
// Chek if actor can move
|
||||
// Check if actor can move
|
||||
if (!_actor.isMovementDisabled())
|
||||
{
|
||||
// Set AI movement data
|
||||
|
@@ -4077,8 +4077,6 @@ 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.
|
||||
broadcastMoveToLocation();
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
Reference in New Issue
Block a user