BiggBoss 13 anos atrás
pai
commit
6b15ef81ac

+ 5 - 0
L2J_DataPack_BETA/data/scripts/handlers/actionhandlers/L2NpcAction.java

@@ -14,6 +14,7 @@
  */
 package handlers.actionhandlers;
 
+import com.l2jserver.Config;
 import com.l2jserver.gameserver.ai.CtrlIntention;
 import com.l2jserver.gameserver.handler.IActionHandler;
 import com.l2jserver.gameserver.model.L2Object;
@@ -140,6 +141,10 @@ public class L2NpcAction implements IActionHandler
 						else
 							((L2Npc)target).showChatWindow(activeChar);
 					}
+					if(Config.PLAYER_MOVEMENT_BLOCK_TIME > 0
+							&& !activeChar.isGM())
+							activeChar.updateNotMoveUntil();
+
 				}
 			}
 		}