mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-15 11:51:53 +01:00
chore: allow chunk subclasses to override heightmap generation
This commit is contained in:
parent
3d84d94c93
commit
5fb5c82192
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user