Update to Minecraft 1.14-pre5

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-23 12:00:00 +10:00
parent 0e98365784
commit a0f2b74c8d
560 changed files with 10642 additions and 10867 deletions

View File

@@ -17,7 +17,7 @@
public class PacketStatusListener implements PacketStatusInListener {
private static final IChatBaseComponent a = new ChatMessage("multiplayer.status.request_handled", new Object[0]);
@@ -19,8 +30,96 @@
@@ -21,8 +32,96 @@
this.networkManager.close(PacketStatusListener.a);
} else {
this.d = true;
@@ -106,7 +106,7 @@
+ ping.setFavicon(event.icon.value);
+ ping.setMOTD(new ChatComponentText(event.getMotd()));
+ ping.setPlayerSample(playerSample);
+ int version = minecraftServer.getServerPing().getServerData().getProtocolVersion();
+ int version = SharedConstants.a().getProtocolVersion();
+ ping.setServerInfo(new ServerPing.ServerData(minecraftServer.getServerModName() + " " + minecraftServer.getVersion(), version));
+
+ this.networkManager.sendPacket(new PacketStatusOutServerInfo(ping));
@@ -114,4 +114,4 @@
+ // CraftBukkit end
}
public void a(PacketStatusInPing packetstatusinping) {
@Override