Call Harvest check event even if the block doesn't require any tool (#7414)

This commit is contained in:
Boy132 authored and GitHub committed 2020-11-10 11:36:32 -08:00
1 parent 9bbfbd5479
commit 9a4a501a95
1 file changed
+1 -1
@@ -177,7 +177,7 @@ public class ForgeHooks
{
//state = state.getActualState(world, pos);
if (!state.getRequiresTool())
return true;
return ForgeEventFactory.doPlayerHarvestCheck(player, state, true);
ItemStack stack = player.getHeldItemMainhand();
ToolType tool = state.getHarvestTool();