Fix #1182 Sheared leaves drop the wrong number of leaves

This commit is contained in:
mezz committed 2016-05-19 01:51:05 -07:00
1 parent 215761b1b1
commit ced605d006
1 file changed
+5 -1
@@ -201,7 +201,11 @@ public class BlockRegistryArboriculture extends BlockRegistry {
}
public ItemStack getDecorativeLeaves(String speciesUid) {
return speciesToLeavesDecorative.get(speciesUid);
ItemStack itemStack = speciesToLeavesDecorative.get(speciesUid);
if (itemStack == null) {
return null;
}
return itemStack.copy();
}
public BlockFruitPod getFruitPod(IAlleleFruit fruit) {