Update to protocol version 51
This commit is contained in:
parent
1999076429
commit
2100b66566
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<groupId>net.md-5</groupId>
|
<groupId>net.md-5</groupId>
|
||||||
<artifactId>mendax</artifactId>
|
<artifactId>mendax</artifactId>
|
||||||
<version>1.4.4-SNAPSHOT</version>
|
<version>1.4.6-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>Mendax</name>
|
<name>Mendax</name>
|
||||||
|
@ -35,7 +35,7 @@ public class PacketDefinitions {
|
|||||||
opCodes[0x14] = new OpCode[]{INT, STRING, INT, INT, INT, BYTE, BYTE, SHORT, METADATA};
|
opCodes[0x14] = new OpCode[]{INT, STRING, INT, INT, INT, BYTE, BYTE, SHORT, METADATA};
|
||||||
opCodes[0x15] = new OpCode[]{INT, ITEM, INT, INT, INT, BYTE, BYTE, BYTE};
|
opCodes[0x15] = new OpCode[]{INT, ITEM, INT, INT, INT, BYTE, BYTE, BYTE};
|
||||||
opCodes[0x16] = new OpCode[]{INT, INT};
|
opCodes[0x16] = new OpCode[]{INT, INT};
|
||||||
opCodes[0x17] = new OpCode[]{INT, BYTE, INT, INT, INT, OPTIONAL_MOTION};
|
opCodes[0x17] = new OpCode[]{INT, BYTE, INT, INT, INT, BYTE, BYTE, OPTIONAL_MOTION};
|
||||||
opCodes[0x18] = new OpCode[]{INT, BYTE, INT, INT, INT, BYTE, BYTE, BYTE, SHORT, SHORT, SHORT, METADATA};
|
opCodes[0x18] = new OpCode[]{INT, BYTE, INT, INT, INT, BYTE, BYTE, BYTE, SHORT, SHORT, SHORT, METADATA};
|
||||||
opCodes[0x19] = new OpCode[]{INT, STRING, INT, INT, INT, INT};
|
opCodes[0x19] = new OpCode[]{INT, STRING, INT, INT, INT, INT};
|
||||||
opCodes[0x1A] = new OpCode[]{INT, INT, INT, INT, SHORT};
|
opCodes[0x1A] = new OpCode[]{INT, INT, INT, INT, SHORT};
|
||||||
|
@ -8,7 +8,8 @@ public class BulkChunk extends Instruction {
|
|||||||
@Override
|
@Override
|
||||||
void read(DataInput in) throws IOException {
|
void read(DataInput in) throws IOException {
|
||||||
short count = in.readShort();
|
short count = in.readShort();
|
||||||
INT_BYTE.read(in);
|
int size = in.readInt();
|
||||||
skip(in, count * 12);
|
in.readBoolean();
|
||||||
|
skip(in, size + count * 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user