Removal of notifyEvent EVT_ARRIVED with task.
This commit is contained in:
@@ -4105,7 +4105,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
getAI().notifyEvent(CtrlEvent.EVT_ARRIVED);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@@ -124,7 +124,7 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
else
|
||||
{
|
||||
ThreadPool.execute(() -> ai.notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
ai.notifyEvent(CtrlEvent.EVT_ARRIVED);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user