Fixed some NPC interaction issues.

This commit is contained in:
MobiusDev
2016-07-24 11:12:53 +00:00
parent ce804e8a53
commit 95f407ceab
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
}

View File

@@ -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;
}