summaryrefslogtreecommitdiffstats
path: root/nms-patches/PacketPlayOutLogin.patch
diff options
context:
space:
mode:
authorThinkofname <thinkofdeath@spigotmc.org>2016-03-30 20:50:59 +0100
committerThinkofname <thinkofdeath@spigotmc.org>2016-03-30 21:06:51 +0100
commit6e527e5b884902df883eb1a3d594ba4dc5147962 (patch)
treec066763146d5c5bb50bdf6c6896f8490c884b3df /nms-patches/PacketPlayOutLogin.patch
parent7fc5cd856e46182e727f383a911ffa46326611f1 (diff)
downloadcraftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar.gz
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar.lz
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar.xz
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.zip
Update to Minecraft 1.9.2
Diffstat (limited to 'nms-patches/PacketPlayOutLogin.patch')
-rw-r--r--nms-patches/PacketPlayOutLogin.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PacketPlayOutLogin.patch b/nms-patches/PacketPlayOutLogin.patch
index 4fcf2a76..a40ee3c8 100644
--- a/nms-patches/PacketPlayOutLogin.patch
+++ b/nms-patches/PacketPlayOutLogin.patch
@@ -4,7 +4,7 @@
}
packetdataserializer.writeByte(i);
-- packetdataserializer.writeByte(this.d);
+- packetdataserializer.writeInt(this.d);
+ // CraftBukkit start
+ if (packetdataserializer.version < 108) {
+ packetdataserializer.writeByte(this.d);