From 95f407ceabf899115296b581030de88991ced55b Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 24 Jul 2016 11:12:53 +0000 Subject: [PATCH] Fixed some NPC interaction issues. --- .../game/data/scripts/handlers/actionhandlers/L2NpcAction.java | 2 +- trunk/java/com/l2jmobius/gameserver/model/actor/L2Npc.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java b/trunk/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java index 556aa08eda..8339f82943 100644 --- a/trunk/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java +++ b/trunk/dist/game/data/scripts/handlers/actionhandlers/L2NpcAction.java @@ -132,7 +132,7 @@ public class L2NpcAction implements IActionHandler npc.showChatWindow(activeChar); } } - if ((Config.PLAYER_MOVEMENT_BLOCK_TIME > 0) && !activeChar.isGM()) + if (Config.PLAYER_MOVEMENT_BLOCK_TIME > 0) { activeChar.updateNotMoveUntil(); } diff --git a/trunk/java/com/l2jmobius/gameserver/model/actor/L2Npc.java b/trunk/java/com/l2jmobius/gameserver/model/actor/L2Npc.java index 4b1de6eae5..4416625426 100644 --- a/trunk/java/com/l2jmobius/gameserver/model/actor/L2Npc.java +++ b/trunk/java/com/l2jmobius/gameserver/model/actor/L2Npc.java @@ -493,7 +493,7 @@ public class L2Npc extends L2Character { return false; } - else if (!isInsideRadius(player, INTERACTION_DISTANCE, true, false)) + else if (!isInsideRadius(player, (int) (INTERACTION_DISTANCE * 1.7), true, false)) { return false; }