Support Minecraft 1.9.2

By: Thinkofname <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot
2016-03-30 16:51:22 +01:00
parent 19e357e11a
commit 8ea7bfcb8c
2 changed files with 4 additions and 2 deletions

View File

@@ -64,7 +64,7 @@
+ }
+ // CraftBukkit end
+
+ if (packethandshakinginsetprotocol.b() > 108) {
+ if (packethandshakinginsetprotocol.b() > 109) {
chatcomponenttext = new ChatComponentText("Outdated server! I\'m still on 1.9");
this.b.sendPacket(new PacketLoginOutDisconnect(chatcomponenttext));
this.b.close(chatcomponenttext);