}
else
{
template = NpcTable.getInstance().getTemplate(35422 + flagCounter);
}
L2DecoInstance flag = new L2DecoInstance(IdFactory.getInstance().getNextId(), template);
flag.setTitle(clan.getName());
flag.setHeading(100);
flag.getStatus().setCurrentHpMp(flag.getMaxHp(), flag.getMaxMp());
if(clan == clanhall.getOwnerClan())
{
flag.spawnMe(58782, -93180, -1354);
clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
regPlayers._flag = flag;
continue;
}
if(flagCounter == 1)
{
flag.spawnMe(56769, -92097, -1360);
}
else if(flagCounter == 2)
{
flag.spawnMe(59138, -92532, -1354);
}
else if(flagCounter == 3)
{
flag.spawnMe(57027, -93673, -1365);
}
else if(flagCounter == 4)
{
flag.spawnMe(58120, -91440, -1354);
}
else if(flagCounter == 5)
{
flag.spawnMe(58428, -93787, -1360);
}
clanPlayersInfo regPlayers = _clansInfo.get(clan.getClanId());
regPlayers._flag = flag;
flagCounter++;
}