Fix #326 decorative leaves should not pollinate

This commit is contained in:
mezz committed 2014-11-11 19:54:34 -08:00
1 parent e528609212
commit 267905ef3f
1 file changed
+2 -2
@@ -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