mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +00:00
fix getHeight in air section
This commit is contained in:
parent
12d51e3f27
commit
ee6ecb9613
@ -189,7 +189,7 @@ public class FabricChunkGeneratorWrapper extends net.minecraft.world.gen.chunk.C
|
||||
int y = height.getTopY();
|
||||
WorldProperties properties = FabricAdapter.adapt(height, noiseConfig.getLegacyWorldSeed());
|
||||
BiomeProvider biomeProvider = pack.getBiomeProvider().caching(properties);
|
||||
while(y >= getMinimumY() && !heightmap.getBlockPredicate().test(
|
||||
while(y > getMinimumY() && !heightmap.getBlockPredicate().test(
|
||||
(BlockState) delegate.getBlock(properties, x, y - 1, z, biomeProvider))) {
|
||||
y--;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user