Fixed clan crest issues.

This commit is contained in:
mobius
2015-02-11 03:16:28 +00:00
parent 750bd4d4e4
commit 6b4183beee
2 changed files with 17 additions and 12 deletions

View File

@ -19,21 +19,12 @@
package com.l2jserver.gameserver.network.serverpackets;
import com.l2jserver.Config;
import com.l2jserver.gameserver.data.sql.impl.CrestTable;
import com.l2jserver.gameserver.model.L2Crest;
public final class PledgeCrest extends L2GameServerPacket
{
private final int _crestId;
private final byte[] _data;
public PledgeCrest(int crestId)
{
_crestId = crestId;
final L2Crest crest = CrestTable.getInstance().getCrest(crestId);
_data = crest != null ? crest.getData() : null;
}
public PledgeCrest(int crestId, byte[] data)
{
_crestId = crestId;