From a0457d2a03308b23c87caeb4ba9d636fa240d7f7 Mon Sep 17 00:00:00 2001 From: Jgunishka <53265225+Jgunishka@users.noreply.github.com> Date: Wed, 21 Aug 2019 21:25:34 +0300 Subject: [PATCH] Fix join game denied message --- .../kaillera/controller/v086/action/JoinGameAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/emulinker/kaillera/controller/v086/action/JoinGameAction.java b/src/org/emulinker/kaillera/controller/v086/action/JoinGameAction.java index a3c2f00..75e5769 100644 --- a/src/org/emulinker/kaillera/controller/v086/action/JoinGameAction.java +++ b/src/org/emulinker/kaillera/controller/v086/action/JoinGameAction.java @@ -62,7 +62,7 @@ public class JoinGameAction implements V086Action, V086GameEventHandler { try { - clientHandler.send(new InformationMessage(clientHandler.getNextMessageNumber(), "server", EmuLang.getString("JoinGameAction.JoinGameDenied") + e.getMessage())); + clientHandler.send(new InformationMessage(clientHandler.getNextMessageNumber(), "server", EmuLang.getString("JoinGameAction.JoinGameDenied", e.getMessage()))); clientHandler.send(new QuitGame_Notification(clientHandler.getNextMessageNumber(), clientHandler.getUser().getName(), clientHandler.getUser().getID())); } catch (MessageFormatException e2)