added MSG to add new client to the gui of whoever is on the server

This commit is contained in:
Sebastian Lenzlinger 2022-05-01 15:03:20 +02:00
parent 111bd67bd4
commit 927416f224

View File

@ -65,6 +65,7 @@ public class JServerProtocolParser {
} catch (Exception e) {
h.setUsernameOnLogin("U.N. Owen");
}
h.guiUpdateAll(Protocol.printToGUI+"$"+GuiParameters.newPlayerOnServer+"$"+h.getClientUserName());
break;
case Protocol.nameChange:
h.changeUsername(msg.substring(6));