Explorar o código

Does not allow unhide of the players in observer mode.

_DS_ %!s(int64=14) %!d(string=hai) anos
pai
achega
96eaabff10

+ 2 - 1
L2_GameServer/java/com/l2jserver/gameserver/skills/effects/EffectHide.java

@@ -102,7 +102,8 @@ public class EffectHide extends L2Effect
 		if (getEffected() instanceof L2PcInstance)
 		{
 			L2PcInstance activeChar = ((L2PcInstance) getEffected());
-			activeChar.getAppearance().setVisible();
+			if (!activeChar.inObserverMode())
+				activeChar.getAppearance().setVisible();
 			activeChar.stopAbnormalEffect(AbnormalEffect.STEALTH);
 		}
 	}