mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 11:29:15 +00:00
Call Harvest check event even if the block doesn't require any tool (#7414)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user