3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

Fix chunks for BungeeCord

Dieser Commit ist enthalten in:
Myles 2016-09-29 20:46:31 +01:00
Ursprung b0d64bfebd
Commit 31c9332e56

Datei anzeigen

@ -42,7 +42,7 @@ public class BulkChunkTranslatorProvider implements Provider {
chunkPacket.write(Type.INT, meta.getX()); chunkPacket.write(Type.INT, meta.getX());
chunkPacket.write(Type.INT, meta.getZ()); chunkPacket.write(Type.INT, meta.getZ());
chunkPacket.write(Type.BOOLEAN, true); // Always ground-up 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(Type.VAR_INT, meta.getLength());
chunkPacket.write(customByteType, meta.getData()); chunkPacket.write(customByteType, meta.getData());