Add use context and simulate flag to getToolModifiedState, enabled HOE_TILL action. (#8557)

This commit is contained in:
SizableShrimp authored and GitHub committed 2022-04-12 09:43:20 -07:00
1 parent 94ce098056
commit 7d79f0d581
12 files changed
+268 -74

No files matched your search

@@ -64,7 +64,7 @@ public class CustomShieldTest
@Override
public boolean canPerformAction(ItemStack stack, ToolAction toolAction)
{
return toolAction.equals(ToolActions.SHIELD_BLOCK);
return toolAction == ToolActions.SHIELD_BLOCK;
}
}
}