mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-01-13 19:51:39 +01:00
Fix an error if the server is starting with bluemap and newly generated worlds
This commit is contained in:
parent
e5df42faa3
commit
e4daeebecf
@ -174,7 +174,7 @@ public Block getBlock(Vector3i pos) throws ChunkNotGeneratedException {
|
||||
private BlockState getExtendedBlockState(Chunk chunk, Vector3i pos) throws ChunkNotGeneratedException {
|
||||
BlockState blockState = chunk.getBlockState(pos);
|
||||
|
||||
if (chunk instanceof ChunkAnvil112) { // only use extensions if old format chunk (1.12) in the new format block-states are saved witch extensions
|
||||
if (chunk instanceof ChunkAnvil112) { // only use extensions if old format chunk (1.12) in the new format block-states are saved with extensions
|
||||
for (BlockStateExtension ext : BLOCK_STATE_EXTENSIONS.get(blockState.getFullId())) {
|
||||
blockState = ext.extend(this, pos, blockState);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user