Fixed Bayou trees
This commit is contained in:
parent
dceb3cd11f
commit
c0e5494638
2 changed files with 2 additions and 2 deletions
|
@ -230,7 +230,7 @@ public class WorldGenBayou1 extends WorldGenAbstractTree
|
|||
--y;
|
||||
|
||||
//TODO: getBlock()
|
||||
if (world.getBlock(x, y, z).isAir(world, x, y, z) || i1 <= 0)
|
||||
if (!(world.getBlock(x, y, z).isAir(world, x, y, z)) || i1 <= 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -222,7 +222,7 @@ public class WorldGenBayou2 extends WorldGenAbstractTree
|
|||
--y;
|
||||
|
||||
//TODO: getBlock()
|
||||
if (world.getBlock(x, y, z).isAir(world, x, y, z) || i1 <= 0)
|
||||
if (!(world.getBlock(x, y, z).isAir(world, x, y, z)) || i1 <= 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue