mirror of https://github.com/Minestom/Minestom.git
chore: allow chunk subclasses to override heightmap generation
This commit is contained in:
parent
9ddf41bd89
commit
323c75f8a5
|
@ -313,7 +313,7 @@ public class DynamicChunk extends Chunk {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private CompoundBinaryTag getHeightmapNBT() {
|
protected CompoundBinaryTag getHeightmapNBT() {
|
||||||
if (needsCompleteHeightmapRefresh) calculateFullHeightmap();
|
if (needsCompleteHeightmapRefresh) calculateFullHeightmap();
|
||||||
return CompoundBinaryTag.builder()
|
return CompoundBinaryTag.builder()
|
||||||
.putLongArray(motionBlocking.NBTName(), motionBlocking.getNBT())
|
.putLongArray(motionBlocking.NBTName(), motionBlocking.getNBT())
|
||||||
|
|
Loading…
Reference in New Issue