mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +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);
|
match.quitMatch(playerId);
|
||||||
}
|
}
|
||||||
Optional<User> user = UserManager.instance.getUser(userId);
|
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);
|
ChatManager.instance.broadcast(chatId, user.get().getName(), "has left the table", ChatMessage.MessageColor.BLUE, true, ChatMessage.MessageType.STATUS, ChatMessage.SoundToPlay.PlayerLeft);
|
||||||
if (!table.isTournamentSubTable()) {
|
if (!table.isTournamentSubTable()) {
|
||||||
user.get().removeTable(playerId);
|
user.get().removeTable(playerId);
|
||||||
|
|
Loading…
Reference in a new issue