Creature event arrived needs to be triggered with a task.

This commit is contained in:
MobiusDevelopment
2021-11-01 23:05:24 +00:00
parent 0506c469a3
commit c9b22e04db
21 changed files with 21 additions and 21 deletions

View File

@ -3185,7 +3185,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
if (distFraction > 1)
{
getAI().notifyEvent(CtrlEvent.EVT_ARRIVED);
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
return true;
}