瀏覽代碼

Fix for unstuck in observer mode, thanks _DS_

DrHouse 16 年之前
父節點
當前提交
19af45d992
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/handler/usercommandhandlers/Escape.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/handler/usercommandhandlers/Escape.java

@@ -52,7 +52,7 @@ public class Escape implements IUserCommandHandler
 			return false;
 			return false;
 		}
 		}
 		
 		
-		if (activeChar.isCastingNow() || activeChar.isMovementDisabled() || activeChar.isMuted() || activeChar.isAlikeDead() || activeChar.isInOlympiadMode())
+		if (activeChar.isCastingNow() || activeChar.isMovementDisabled() || activeChar.isMuted() || activeChar.isAlikeDead() || activeChar.isInOlympiadMode() || activeChar.inObserverMode())
 			return false;
 			return false;
 		
 		
 		int unstuckTimer = (activeChar.getAccessLevel().isGm() ? 5000 : Config.UNSTUCK_INTERVAL * 1000);
 		int unstuckTimer = (activeChar.getAccessLevel().isGm() ? 5000 : Config.UNSTUCK_INTERVAL * 1000);