From 31c9332e5664e6599ff2c1293c91a4524f08548c Mon Sep 17 00:00:00 2001 From: Myles Date: Thu, 29 Sep 2016 20:46:31 +0100 Subject: [PATCH] Fix chunks for BungeeCord --- .../protocol1_9to1_8/providers/BulkChunkTranslatorProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/providers/BulkChunkTranslatorProvider.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/providers/BulkChunkTranslatorProvider.java index dc98c66de..3d06352fa 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/providers/BulkChunkTranslatorProvider.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/providers/BulkChunkTranslatorProvider.java @@ -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());