9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-19 15:09:18 +00:00

another mantle fix

This commit is contained in:
Julian Krings
2025-09-07 16:50:23 +02:00
parent f6968269b4
commit aa14242b54

View File

@@ -266,7 +266,7 @@ public class MantleChunk {
dos.writeByte(x); dos.writeByte(x);
dos.writeByte(z); dos.writeByte(z);
dos.writeByte(sections.length()); dos.writeByte(sections.length());
Varint.writeUnsignedVarInt(Math.ceilDiv(flags.length(), Byte.SIZE), dos); Varint.writeUnsignedVarInt(flags.length(), dos);
int count = flags.length(); int count = flags.length();
for (int i = 0; i < count;) { for (int i = 0; i < count;) {