Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
@@ -107,7 +107,8 @@ public class ChunkHider21 implements ChunkHider {
|
||||
int value = ProtocolUtils.readVarInt(section.getIn());
|
||||
ProtocolUtils.writeVarInt(section.getOut(), !section.isSkipSection() && section.getObfuscate().contains(value) ? section.getTarget() : value);
|
||||
return;
|
||||
} else {
|
||||
} else if (section.getBitsPerBlock() < 9) {
|
||||
// Indirect (paletted) storage – only present when bitsPerBlock < 9 in 1.21+
|
||||
section.processPalette();
|
||||
}
|
||||
|
||||
@@ -152,6 +153,9 @@ public class ChunkHider21 implements ChunkHider {
|
||||
} else if(section.getBitsPerBlock() < 6) {
|
||||
section.skipPalette();
|
||||
section.skipNewDataArray(64);
|
||||
} else {
|
||||
// Direct (global) biome IDs – no palette present
|
||||
section.skipNewDataArray(64);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ java {
|
||||
|
||||
tasks.compileJava {
|
||||
options.encoding "UTF-8"
|
||||
options.compilerArgs << '--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user