@@ -106,7 +106,7 @@
|
||||
+ ping.setFavicon(event.icon.value);
|
||||
+ ping.setMOTD(new ChatComponentText(event.getMotd()));
|
||||
+ ping.setPlayerSample(playerSample);
|
||||
+ int version = SharedConstants.a().getProtocolVersion();
|
||||
+ int version = SharedConstants.getGameVersion().getProtocolVersion();
|
||||
+ ping.setServerInfo(new ServerPing.ServerData(minecraftServer.getServerModName() + " " + minecraftServer.getVersion(), version));
|
||||
+
|
||||
+ this.networkManager.sendPacket(new PacketStatusOutServerInfo(ping));
|
||||
|
||||
Reference in New Issue
Block a user