From c9428e6eae6076b38a87aca56b0da47b298bd90a Mon Sep 17 00:00:00 2001 From: fabricator77 Date: Tue, 6 May 2014 17:33:56 +0930 Subject: [PATCH] Register flowers added to Minecraft 1.7.x Register additional flowers added in 1.7, which use metadata in red_flower. Of note, not registering DoublePlant flowers, due to problems with beehives generating these in world. --- forestry_common/core/forestry/core/ForestryCore.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/forestry_common/core/forestry/core/ForestryCore.java b/forestry_common/core/forestry/core/ForestryCore.java index 1d5cd84d5..80dda5209 100755 --- a/forestry_common/core/forestry/core/ForestryCore.java +++ b/forestry_common/core/forestry/core/ForestryCore.java @@ -126,7 +126,9 @@ public class ForestryCore { FuelManager.rainSubstrate.put(ForestryItem.craftingMaterial.getItemStack(1, 4), new RainSubstrate(ForestryItem.craftingMaterial.getItemStack(1, 4), 0.075f)); // Set additional apiary flowers - FlowerManager.plainFlowers.add(new ItemStack(Blocks.red_flower)); + for (int i=0; i<8; i++) { + FlowerManager.plainFlowers.add(new ItemStack(Blocks.red_flower, 1, i)); + } FlowerManager.plainFlowers.add(new ItemStack(Blocks.yellow_flower)); // Register gui handler