mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +00:00
Fix #1182 Sheared leaves drop the wrong number of leaves
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user