mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 19:05:31 +00:00
Fix hive gen
This commit is contained in:
1 parent
6fbbb508cb
commit
31bd519eaf
1 file changed
+1
-1
@@ -41,7 +41,7 @@ public class HiveGenGround extends HiveGen {
|
||||
|
||||
// get to the ground
|
||||
BlockPos pos = world.getHeight(new BlockPos(x, 0, z));
|
||||
while (pos.getY() >= 0 && (world.getBlockState(pos).getBlock().isLeaves(world, pos) || canReplace(world, pos))) {
|
||||
while (pos.getY() >= 0 && (world.getBlockState(pos.down()).getBlock().isLeaves(world, pos.down()) || canReplace(world, pos.down()))) {
|
||||
pos = pos.add(0, -1, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user