break Statement referenced the wrong loop

At least I think. Any comments @taoneill ?

Closes #773
This commit is contained in:
cmastudios 2014-04-20 14:56:45 -05:00
parent 7ed33e8965
commit 181fb64c50

View File

@ -883,7 +883,7 @@ public class WarPlayerListener implements Listener {
if (team.getPlayers().contains(event.getPlayer())) { if (team.getPlayers().contains(event.getPlayer())) {
event.setRespawnLocation(team.getRandomSpawn()); event.setRespawnLocation(team.getRandomSpawn());
zone.respawnPlayer(team, event.getPlayer()); zone.respawnPlayer(team, event.getPlayer());
break; return;
} }
} }