chore: allow chunk subclasses to override heightmap generation

This commit is contained in:
mworzala 2024-05-04 17:07:08 -04:00
parent 9ddf41bd89
commit 323c75f8a5
No known key found for this signature in database
GPG Key ID: B148F922E64797C7
1 changed files with 1 additions and 1 deletions

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())