Correct "containsAll"

This commit is contained in:
Andreas Troelsen
2011-07-18 15:23:32 +02:00
parent b252944f9b
commit d44e208c79
2 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -129,7 +129,7 @@ public class Arena
public boolean startArena() public boolean startArena()
{ {
// Sanity-checks // Sanity-checks
if (running || lobbyPlayers.isEmpty() || !lobbyPlayers.containsAll(readyPlayers)) if (running || lobbyPlayers.isEmpty() || !readyPlayers.containsAll(lobbyPlayers))
return false; return false;
if (!softRestore && forceRestore && !serializeRegion()) if (!softRestore && forceRestore && !serializeRegion())
return false; return false;