chore: allow chunk subclasses to override heightmap generation

This commit is contained in:
mworzala 2024-05-04 17:07:08 -04:00 committed by Matt Worzala
parent 3d84d94c93
commit 5fb5c82192

View File

@ -313,7 +313,7 @@ public class DynamicChunk extends Chunk {
);
}
private CompoundBinaryTag getHeightmapNBT() {
protected CompoundBinaryTag getHeightmapNBT() {
if (needsCompleteHeightmapRefresh) calculateFullHeightmap();
return CompoundBinaryTag.builder()
.putLongArray(motionBlocking.NBTName(), motionBlocking.getNBT())