From 8b44327312c83d24311da9569e5446087fb325d4 Mon Sep 17 00:00:00 2001 From: ingmargoudt Date: Fri, 7 Apr 2017 23:55:10 +0200 Subject: [PATCH] wrong negation --- Mage.Server/src/main/java/mage/server/TableController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server/src/main/java/mage/server/TableController.java b/Mage.Server/src/main/java/mage/server/TableController.java index cda5d61d04..be9854ae52 100644 --- a/Mage.Server/src/main/java/mage/server/TableController.java +++ b/Mage.Server/src/main/java/mage/server/TableController.java @@ -527,7 +527,7 @@ public class TableController { match.quitMatch(playerId); } Optional 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);