Removal of notifyEvent EVT_ARRIVED with task.
This commit is contained in:
parent
848872ae4c
commit
4b302b66db
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3164,7 +3164,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
|
||||
|
@ -3164,7 +3164,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
|
||||
|
@ -3164,7 +3164,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
|
||||
|
@ -124,7 +124,7 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
else
|
||||
{
|
||||
ThreadPool.execute(() -> ai.notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
ai.notifyEvent(CtrlEvent.EVT_ARRIVED);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -124,7 +124,7 @@ public class CreatureFollowTaskManager
|
||||
}
|
||||
else
|
||||
{
|
||||
ThreadPool.execute(() -> ai.notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
ai.notifyEvent(CtrlEvent.EVT_ARRIVED);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -4103,7 +4103,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
|
||||
|
@ -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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3178,7 +3178,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
|
||||
|
@ -3178,7 +3178,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
|
||||
|
@ -3177,7 +3177,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
|
||||
|
@ -3165,7 +3165,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
|
||||
|
@ -3180,7 +3180,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
|
||||
|
@ -3187,7 +3187,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
|
||||
|
Loading…
Reference in New Issue
Block a user