Creature event arrived needs to be triggered with a task.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user