mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
wrong negation
This commit is contained in:
parent
5dfc0392f9
commit
8b44327312
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ public class TableController {
|
|||
match.quitMatch(playerId);
|
||||
}
|
||||
Optional<User> user = UserManager.instance.getUser(userId);
|
||||
if (!user.isPresent()) {
|
||||
if (user.isPresent()) {
|
||||
ChatManager.instance.broadcast(chatId, user.get().getName(), "has left the table", ChatMessage.MessageColor.BLUE, true, ChatMessage.MessageType.STATUS, ChatMessage.SoundToPlay.PlayerLeft);
|
||||
if (!table.isTournamentSubTable()) {
|
||||
user.get().removeTable(playerId);
|
||||
|
|
Loading…
Reference in a new issue