else
{
member.setSiegeState((byte) 1);
}
member.sendPacket(new UserInfo(member));
for(L2PcInstance player : member.getKnownList().getKnownPlayers().values())
{
player.sendPacket(new RelationChanged(member, member.getRelation(player), member.isAutoAttackable(player)));
}
}
}
for(L2SiegeClan siegeclan : getDefenderClans())
{
clan = ClanTable.getInstance().getClan(siegeclan.getClanId());
for(L2PcInstance member : clan.getOnlineMembers(""))
{
if(clear)
{
member.setSiegeState((byte) 0);
}
else
{
member.setSiegeState((byte) 2);
}
member.sendPacket(new UserInfo(member));
for(L2PcInstance player : member.getKnownList().getKnownPlayers().values())
{
player.sendPacket(new RelationChanged(member, member.getRelation(player), member.isAutoAttackable(player)));
}