Fix #472 Crash with Thaumic Tinkerer Ichorium Axe

This commit is contained in:
mezz committed 2015-01-23 22:57:33 -08:00
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);