From 181fb64c503e227f33a3ddaef5bfb1ce247d46e7 Mon Sep 17 00:00:00 2001 From: cmastudios Date: Sun, 20 Apr 2014 14:56:45 -0500 Subject: [PATCH] break Statement referenced the wrong loop At least I think. Any comments @taoneill ? Closes #773 --- .../main/java/com/tommytony/war/event/WarPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/src/main/java/com/tommytony/war/event/WarPlayerListener.java b/war/src/main/java/com/tommytony/war/event/WarPlayerListener.java index 902420c..fd43ddd 100644 --- a/war/src/main/java/com/tommytony/war/event/WarPlayerListener.java +++ b/war/src/main/java/com/tommytony/war/event/WarPlayerListener.java @@ -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; } }