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

@@ -18,7 +18,7 @@
private final MinecraftServer a;
private final NetworkManager b;
@@ -16,6 +26,41 @@
@@ -17,6 +27,41 @@
this.b.setProtocol(EnumProtocol.LOGIN);
ChatMessage chatmessage;
@@ -57,10 +57,10 @@
+ }
+ // CraftBukkit end
+
if (packethandshakinginsetprotocol.c() > 404) {
chatmessage = new ChatMessage("multiplayer.disconnect.outdated_server", new Object[] { "1.13.2"});
if (packethandshakinginsetprotocol.c() > SharedConstants.a().getProtocolVersion()) {
chatmessage = new ChatMessage("multiplayer.disconnect.outdated_server", new Object[] { SharedConstants.a().getName()});
this.b.sendPacket(new PacketLoginOutDisconnect(chatmessage));
@@ -26,6 +71,7 @@
@@ -27,6 +72,7 @@
this.b.close(chatmessage);
} else {
this.b.setPacketListener(new LoginListener(this.a, this.b));