mirror of
https://github.com/taoneill/war.git
synced 2024-12-02 15:13:39 +01:00
break Statement referenced the wrong loop
At least I think. Any comments @taoneill ? Closes #773
This commit is contained in:
parent
7ed33e8965
commit
181fb64c50
@ -883,7 +883,7 @@ public class WarPlayerListener implements Listener {
|
||||
if (team.getPlayers().contains(event.getPlayer())) {
|
||||
event.setRespawnLocation(team.getRandomSpawn());
|
||||
zone.respawnPlayer(team, event.getPlayer());
|
||||
break;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user