BiggBoss 13 年之前
父节点
当前提交
6b15ef81ac
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      L2J_DataPack_BETA/data/scripts/handlers/actionhandlers/L2NpcAction.java

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

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