Fixed issue #23 Infernal Hive not spawning (+1 squashed commits)

Squashed commits:

[ca7be80] probably fix #21 #20 #17.
This commit is contained in:
marcin212 committed 2014-10-18 16:49:29 +02:00
1 parent 0c5f27e192
commit 2f5cbb7d3c
2 files changed
+10 -2

No files matched your search

@@ -137,7 +137,7 @@ public class FeatureHive
int chop = random.nextInt(2) + 1;
int coordY = random.nextInt(60 / chop) + random.nextInt(chop) * (120 / chop) - 5;
if(world.isAirBlock(coordX, coordY, coordZ) && world.getBlock(coordX, coordY, coordZ) != null &&
if(!world.isAirBlock(coordX, coordY, coordZ) && world.getBlock(coordX, coordY, coordZ) != null &&
world.getBlock(coordX, coordY, coordZ).isReplaceableOreGen(world, coordX, coordY, coordZ,
Blocks.netherrack))
{