mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-19 11:59:19 +00:00
Fixed issue #23 Infernal Hive not spawning (+1 squashed commits)
Squashed commits: [ca7be80] probably fix #21 #20 #17.
This commit is contained in:
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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user