mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Fix #472 Crash with Thaumic Tinkerer Ichorium Axe
This commit is contained in:
1 parent
8745f56f8b
commit
1aefd5863e
1 file changed
+2
-1
@@ -98,7 +98,8 @@ public class ForestryBlockLeaves extends BlockNewLeaf implements ITileEntityProv
|
||||
|
||||
@Override
|
||||
public void onBlockHarvested(World world, int x, int y, int z, int metadata, EntityPlayer player) {
|
||||
if (getLeafTile(world, x, y, z).isDecorative())
|
||||
TileLeaves leafTile = getLeafTile(world, x, y, z);
|
||||
if (leafTile == null || leafTile.isDecorative())
|
||||
return;
|
||||
|
||||
int fortune = EnchantmentHelper.getFortuneModifier(player);
|
||||
|
||||
Reference in new issue
Block a user