mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* 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:
parent
84f67f1fcd
commit
de87cb6082
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue