From ac2aef92f9a952d190bf771c60371c026304c533 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Tue, 23 Nov 2021 02:17:44 +0000 Subject: [PATCH] Do not set AI intention to idle with stopMove method. Contributed by Strelook66. --- .../java/org/l2jmobius/gameserver/model/actor/Creature.java | 6 ------ .../java/org/l2jmobius/gameserver/model/actor/Creature.java | 6 ------ 2 files changed, 12 deletions(-) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/actor/Creature.java index 6931af4acd..25f23e5c77 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -5040,12 +5040,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder _move = null; _cursorKeyMovement = false; - // Set AI_INTENTION_IDLE - if ((this instanceof Player) && (getAI() != null)) - { - ((Player) this).getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); - } - // Set the current position (x,y,z), its current WorldRegion if necessary and its heading // All data are contained in a CharPosition object if (pos != null) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java index df049d86df..27a7b7fe18 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -5086,12 +5086,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder _move = null; _cursorKeyMovement = false; - // Set AI_INTENTION_IDLE - if ((this instanceof Player) && (getAI() != null)) - { - ((Player) this).getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE); - } - // Set the current position (x,y,z), its current WorldRegion if necessary and its heading // All data are contained in a CharPosition object if (pos != null)