Changed version in server list

This commit is contained in:
Felix Cravic 2020-08-15 16:04:50 +02:00
parent 542d603d60
commit 6e7b4ebb9f
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ public class LegacyPingHandler extends ChannelInboundHandlerAdapter {
private String formatResponse(int playerProtocol) {
// todo server motd, online and slots
final String motd = "Minestom";
final String version = "1.16.1";
final String version = "1.16.2";
final int online = MinecraftServer.getConnectionManager().getOnlinePlayers().size();
final int max = 0;
final int protocol = MinecraftServer.PROTOCOL_VERSION; // 1.15.2

View File

@ -17,7 +17,7 @@ public class StatusRequestPacket implements ClientPreplayPacket {
ResponseData responseData = new ResponseData();
// Fill default params
responseData.setName("1.16.1");
responseData.setName("1.16.2");
responseData.setProtocol(MinecraftServer.PROTOCOL_VERSION);
responseData.setMaxPlayer(0);
responseData.setOnline(0);