From 166fc798f15df7713d15bd2f75f6442d6368a829 Mon Sep 17 00:00:00 2001 From: mbax Date: Wed, 14 Nov 2012 15:00:22 -0500 Subject: [PATCH] Update to 1.4.4 --- src/main/java/net/md_5/mendax/PacketDefinitions.java | 2 +- src/main/java/net/md_5/mendax/datainput/MetaData.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/md_5/mendax/PacketDefinitions.java b/src/main/java/net/md_5/mendax/PacketDefinitions.java index c382b2a2..967628c2 100644 --- a/src/main/java/net/md_5/mendax/PacketDefinitions.java +++ b/src/main/java/net/md_5/mendax/PacketDefinitions.java @@ -100,7 +100,7 @@ public class PacketDefinitions { // // opCodes[0x82] = new OpCode[]{INT, SHORT, INT, STRING, STRING, STRING, STRING}; - opCodes[0x83] = new OpCode[]{SHORT, SHORT, UBYTE_BYTE}; + opCodes[0x83] = new OpCode[]{SHORT, SHORT, SHORT_BYTE}; opCodes[0x84] = new OpCode[]{INT, SHORT, INT, BYTE, SHORT_BYTE}; // // diff --git a/src/main/java/net/md_5/mendax/datainput/MetaData.java b/src/main/java/net/md_5/mendax/datainput/MetaData.java index 521c5d56..c74fa3ff 100644 --- a/src/main/java/net/md_5/mendax/datainput/MetaData.java +++ b/src/main/java/net/md_5/mendax/datainput/MetaData.java @@ -29,6 +29,10 @@ class MetaData extends Instruction { case 5: if (in.readShort() > 0) { skip(in, 3); + short len = in.readShort(); + if (len > 0 ) { + skip(in, len); + } } break; case 6: