* Tournament - Fixed a bug that prevented users from quitting a tournament. Also created some problems with users that were disconnected.

This commit is contained in:
LevelX2 2014-07-23 17:21:03 +02:00
parent 84f67f1fcd
commit de87cb6082

View file

@ -63,7 +63,7 @@ public class TournamentManager {
}
public void quit(UUID tournamentId, UUID userId) {
if (controllers.contains(tournamentId)) {
if (controllers.containsKey(tournamentId)) {
controllers.get(tournamentId).quit(userId);
} else {
Logger.getLogger(TournamentManager.class).error("TournamentManager.quit tournament controller missing tournamentid: " + tournamentId + " userId: " + userId);