mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +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