mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
Hopefully fix issue #2 by using an unsigned byte
This commit is contained in:
parent
ec1829d921
commit
5962ebd992
@ -39,7 +39,7 @@ public class PacketDefinitions {
|
||||
private static final Instruction METADATA = new Instruction() {
|
||||
@Override
|
||||
void read(DataInput in) throws IOException {
|
||||
byte x = in.readByte();
|
||||
int x = in.readUnsignedByte();
|
||||
while (x != 127) {
|
||||
int type = x >> 5;
|
||||
switch (type) {
|
||||
|
Loading…
Reference in New Issue
Block a user