From 267905ef3f901bde1db4c1402ddca2e5b5ef5cbe Mon Sep 17 00:00:00 2001 From: mezz Date: Tue, 11 Nov 2014 19:54:34 -0800 Subject: [PATCH] Fix #326 decorative leaves should not pollinate --- src/main/java/forestry/arboriculture/gadgets/TileLeaves.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/forestry/arboriculture/gadgets/TileLeaves.java b/src/main/java/forestry/arboriculture/gadgets/TileLeaves.java index 43aa22912..13078037a 100755 --- a/src/main/java/forestry/arboriculture/gadgets/TileLeaves.java +++ b/src/main/java/forestry/arboriculture/gadgets/TileLeaves.java @@ -96,7 +96,7 @@ public class TileLeaves extends TileTreeContainer implements IPollinatable, IFru maturationTime = nbttagcompound.getInteger("CATMAT"); caterpillar = (IButterfly)AlleleManager.alleleRegistry.getSpeciesRoot("rootButterflies").getMember(nbttagcompound.getCompoundTag("CATER")); } - + isDecorative = nbttagcompound.getBoolean("Decorative"); } @Override @@ -114,7 +114,7 @@ public class TileLeaves extends TileTreeContainer implements IPollinatable, IFru caterpillar.writeToNBT(subcompound); nbttagcompound.setTag("CATER", subcompound); } - + nbttagcompound.setBoolean("Decorative", isDecorative); } @Override