con = L2DatabaseFactory.getInstance().getConnection();
statement = con.prepareStatement("REPLACE INTO siege_clans (clan_id,unit_id,type) VALUES (?,?,?)");
statement.setInt(1, clan.getClanId());
statement.setInt(2, _siege.getSiegeUnit().getId());
statement.setInt(3, typeId);
statement.execute();
_siege.addSiegeClan(clan.getClanId(), SiegeClanType.getById(typeId));
}
catch(Exception e)
{
_log.warning("Exception: saveSiegeClan: " + e);