Skip to content

Commit

Permalink
Add missing PlayerCount to Pong Packet
Browse files Browse the repository at this point in the history
Closes #23
  • Loading branch information
bundabrg committed Dec 7, 2020
1 parent 1e0c48f commit 118bb0d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public BedrockPong onQuery(InetSocketAddress inetSocketAddress) {
translatedPong.setGameType(originalPong.getGameType());
translatedPong.setIpv4Port(originalPong.getIpv4Port());
translatedPong.setIpv6Port(originalPong.getIpv6Port());
translatedPong.setPlayerCount(originalPong.getPlayerCount());
translatedPong.setMaximumPlayerCount(originalPong.getMaximumPlayerCount());
translatedPong.setMotd(originalPong.getMotd());
translatedPong.setProtocolVersion(originalPong.getProtocolVersion());
Expand Down

0 comments on commit 118bb0d

Please sign in to comment.