Fix chunks for BungeeCord

This commit is contained in:
Myles 2016-09-29 20:46:31 +01:00
parent b0d64bfebd
commit 31c9332e56

View File

@ -42,7 +42,7 @@ public class BulkChunkTranslatorProvider implements Provider {
chunkPacket.write(Type.INT, meta.getX());
chunkPacket.write(Type.INT, meta.getZ());
chunkPacket.write(Type.BOOLEAN, true); // Always ground-up
chunkPacket.write(Type.UNSIGNED_SHORT, meta.getBitMask() & 0x0F);
chunkPacket.write(Type.UNSIGNED_SHORT, meta.getBitMask());
chunkPacket.write(Type.VAR_INT, meta.getLength());
chunkPacket.write(customByteType, meta.getData());