Fixed Bayou trees

This commit is contained in:
Matt Caughey 2014-03-15 18:00:10 -04:00
parent dceb3cd11f
commit c0e5494638
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}