Skip to content

Commit

Permalink
Fixed an issue with publishing create message where type is not publi…
Browse files Browse the repository at this point in the history
…shed
  • Loading branch information
AkramLZ committed Nov 2, 2023
1 parent e58c779 commit 9a25d06
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ public void publishCreate(final String serverName,
final int port,
final int maxPlayers) {
final JsonObject jsonObject = new JsonObject();
jsonObject.addProperty("type", ServerMessageType.CREATE.name());
jsonObject.addProperty("name", serverName);
jsonObject.addProperty("ip", ip);
jsonObject.addProperty("port", port);
Expand Down

0 comments on commit 9a25d06

Please sign in to comment.