Moved RequestPledgeCrest crest Id check before PcInstance check.

This commit is contained in:
mobius
2015-02-11 03:55:05 +00:00
parent db58e15bc5
commit 3d833d9521

View File

@@ -42,13 +42,13 @@ public final class RequestPledgeCrest extends L2GameClientPacket
@Override @Override
protected void runImpl() protected void runImpl()
{ {
final L2PcInstance activeChar = getClient().getActiveChar(); if (_crestId == 0)
if (activeChar.getClan().getId() == _clanId)
{ {
return; return;
} }
if (_crestId == 0) final L2PcInstance activeChar = getClient().getActiveChar();
if (activeChar.getClan().getId() == _clanId)
{ {
return; return;
} }