mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-16 15:45:21 +01:00
Changed version in server list
This commit is contained in:
parent
542d603d60
commit
6e7b4ebb9f
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user