Skip to content

Commit 91a8855

Browse files
Fix Surface block spawning (#1681)
1 parent 52b948d commit 91a8855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/api/worldgen/populator/SurfaceBlockPopulator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void populateChunk(World world, int chunkX, int chunkZ, Random random, Or
7676

7777
//Checks if the block is a replaceable feature like grass or snow layers. Liquids are replaceable, so
7878
// exclude one deep liquid blocks, for looks
79-
if(!blockAtPos.isReplaceable(world, topBlockPos) || blockState.getMaterial().isLiquid()) {
79+
if(!blockAtPos.isReplaceable(world, topBlockPos.up()) || blockState.getMaterial().isLiquid()) {
8080
continue;
8181
}
8282

0 commit comments

Comments
 (0)