Removed updatePosition broadcastMoveToLocation.

Thanks to Bandnentans.
This commit is contained in:
MobiusDevelopment
2021-05-10 21:16:42 +00:00
parent 638be3c2f5
commit 14d7c151d1
23 changed files with 2 additions and 44 deletions

View File

@@ -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

View File

@@ -4079,8 +4079,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));