Removed updatePosition broadcastMoveToLocation.
Thanks to Bandnentans.
This commit is contained in:
parent
638be3c2f5
commit
14d7c151d1
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3154,8 +3154,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));
|
||||
|
@ -3154,8 +3154,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));
|
||||
|
@ -3154,8 +3154,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));
|
||||
|
@ -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));
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3168,8 +3168,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));
|
||||
|
@ -3168,8 +3168,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));
|
||||
|
@ -3167,8 +3167,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));
|
||||
|
@ -3155,8 +3155,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));
|
||||
|
@ -3170,8 +3170,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));
|
||||
|
@ -3177,8 +3177,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));
|
||||
|
Loading…
Reference in New Issue
Block a user