Fix join game denied message

This commit is contained in:
Jgunishka 2019-08-21 21:25:34 +03:00
parent 3098f0a05f
commit a0457d2a03

View File

@ -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)