From 61704192fe830185dd59c9916762fa6a37ea2eac Mon Sep 17 00:00:00 2001 From: mezz Date: Sun, 11 Jan 2015 20:55:59 -0800 Subject: [PATCH] Skip hive postGen when in hiveGen debug mode --- src/main/java/forestry/apiculture/worldgen/HiveDecorator.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/forestry/apiculture/worldgen/HiveDecorator.java b/src/main/java/forestry/apiculture/worldgen/HiveDecorator.java index db9eb3b05..719180f9a 100755 --- a/src/main/java/forestry/apiculture/worldgen/HiveDecorator.java +++ b/src/main/java/forestry/apiculture/worldgen/HiveDecorator.java @@ -150,7 +150,9 @@ public class HiveDecorator { hiveBlock.onBlockAdded(world, x, y, z); world.markBlockForUpdate(x, y, z); - hive.postGen(world, x, y, z); + if (!Config.generateBeehivesDebug) { + hive.postGen(world, x, y, z); + } return true; } }