{
activeChar.sendMessage("Only a clan that owns a clan hall or a castle can get their emblem displayed on clan related items"); //there is a system message for that but didnt found the id
return;
}
CrestCache crestCache = CrestCache.getInstance();
int newId = IdFactory.getInstance().getNextId();
if (!crestCache.savePledgeCrestLarge(newId,_data))
{
_log.log(Level.INFO, "Error loading large crest of clan:" + clan.getName());
return;
}
if (clan.hasCrestLarge())
{
crestCache.removePledgeCrestLarge(clan.getCrestLargeId());
}
java.sql.Connection con = null;
try