Skip to content

Commit

Permalink
add Silk Touch First
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Feb 16, 2025
1 parent 3e72f22 commit 58a2fe8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/fi/dy/masa/tweakeroo/util/InventoryUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,13 @@ else if (EquipmentUtils.isMeleeWeapon(previousTool))
{
return hasTheSameOrBetterMaterial(testedStack, previousTool);
}
/*
else if (testedStack.getItem() instanceof ShearsItem &&
state.isIn(MaLiLibTag.Blocks.NEEDS_SHEARS))
{
return getBaseBlockBreakingSpeed(testedStack, state) >= getBaseBlockBreakingSpeed(previousTool, state);
}
*/

return isBetterToolEach(testedStack, previousTool, state);
}
Expand Down

0 comments on commit 58a2fe8

Please sign in to comment.