mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
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>
|
||||
<artifactId>mendax</artifactId>
|
||||
<version>1.4.4-SNAPSHOT</version>
|
||||
<version>1.4.6-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Mendax</name>
|
||||
|
@ -35,7 +35,7 @@ public class PacketDefinitions {
|
||||
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[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[0x19] = new OpCode[]{INT, STRING, INT, INT, INT, INT};
|
||||
opCodes[0x1A] = new OpCode[]{INT, INT, INT, INT, SHORT};
|
||||
|
@ -8,7 +8,8 @@ public class BulkChunk extends Instruction {
|
||||
@Override
|
||||
void read(DataInput in) throws IOException {
|
||||
short count = in.readShort();
|
||||
INT_BYTE.read(in);
|
||||
skip(in, count * 12);
|
||||
int size = in.readInt();
|
||||
in.readBoolean();
|
||||
skip(in, size + count * 12);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user