4142434445464748495051
if(activeChar == null) return; if(activeChar.inObserverMode()) { activeChar.leaveOlympiadObserverMode(); } } @Override public String getType()
6667686970717273747576
{ if(player.inObserverMode()) { if(player.getOlympiadObserveId() > 0) { player.leaveOlympiadObserverMode(); } else { player.leaveObserverMode(); }
1920212223242526272829
} if(activeChar.inObserverMode()) { if(activeChar.getOlympiadObserveId() > 0) { activeChar.leaveOlympiadObserverMode(); } else { activeChar.leaveObserverMode(); }
232425262728293031
{ return; } if(Config.ENABLE_OLYMPIAD && activeChar.inObserverMode()) { activeChar.leaveOlympiadObserverMode(); } } }
373374375376377378379380381382383
{ activeChar.returnFromObserverMode(); } else if (activeChar.getOlympiadObserveGame() != null) { activeChar.leaveOlympiadObserverMode(true); } else { activeChar.leaveObserverMode(); }
331332333334335336337338339340341
} if (player.isInObserverMode()) { if (player.getOlympiadObserveGame() != null) { player.leaveOlympiadObserverMode(true); } else { player.leaveObserverMode(); }
41424344454647484950
} if (activeChar.getObserverMode() == Player.OBSERVER_STARTED) { if (activeChar.getOlympiadObserveGame() != null) { activeChar.leaveOlympiadObserverMode(true); } } } }
} if (activeChar.getObserverMode() == Player.OBSERVER_STARTED) { if (activeChar.getOlympiadGame() != null) { activeChar.leaveOlympiadObserverMode(true); } else { activeChar.leaveObserverMode(); }
4647484950515253545556
protected void runImpl() { L2PcInstance activeChar = getClient().getActiveChar(); if (activeChar == null) return; if (activeChar.inObserverMode()) activeChar.leaveOlympiadObserverMode(); } /* (non-Javadoc) * @see net.sf.l2j.gameserver.BasePacket#getType() */