while(_throneSpawns.size()<_teams.size())
_throneSpawns.add(null);
for(String team : _teams)
{
int index = _teams.indexOf(team);
L2NpcTemplate tmpl = NpcTable.getInstance().getTemplate(_flagIds.get(index));
L2NpcTemplate throne = NpcTable.getInstance().getTemplate(32027);
try
{
// Spawn throne
_throneSpawns.set(index, new L2Spawn(throne));
_throneSpawns.get(index).setLocx(_flagsX.get(index));