summaryrefslogtreecommitdiffstats
path: root/nms-patches/PacketPlayOutLogin.patch
diff options
context:
space:
mode:
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);