Removal of notifyEvent EVT_ARRIVED with task.

This commit is contained in:
MobiusDevelopment
2021-10-24 22:11:14 +00:00
parent 848872ae4c
commit 4b302b66db
44 changed files with 44 additions and 44 deletions

View File

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

View File

@@ -124,7 +124,7 @@ public class CreatureFollowTaskManager
}
else
{
ThreadPool.execute(() -> ai.notifyEvent(CtrlEvent.EVT_ARRIVED));
ai.notifyEvent(CtrlEvent.EVT_ARRIVED);
}
}
else