Call Harvest check event even if the block doesn't require any tool (#7414)
This commit is contained in:
parent
9bbfbd5479
commit
9a4a501a95
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ public class ForgeHooks
|
||||||
{
|
{
|
||||||
//state = state.getActualState(world, pos);
|
//state = state.getActualState(world, pos);
|
||||||
if (!state.getRequiresTool())
|
if (!state.getRequiresTool())
|
||||||
return true;
|
return ForgeEventFactory.doPlayerHarvestCheck(player, state, true);
|
||||||
|
|
||||||
ItemStack stack = player.getHeldItemMainhand();
|
ItemStack stack = player.getHeldItemMainhand();
|
||||||
ToolType tool = state.getHarvestTool();
|
ToolType tool = state.getHarvestTool();
|
||||||
|
|
Loading…
Reference in a new issue