Fixed Hammer Durability not registering

This commit is contained in:
lzstealth committed 2025-05-17 16:53:58 +01:00
1 parent 723cbfc483
commit c81a852e72
1 file changed
+1 -1
@@ -1,5 +1,5 @@
scoreboard players reset @s lzt_hammer_unbreaking_check
execute if entity @s[predicate=lzstools:unbreaking/all] run function lzstools_hammer:durability/unbreaking
execute if entity @s[predicate=lzstools:unbreaking/mainhand/all] run function lzstools_hammer:durability/unbreaking
execute if score @s lzt_hammer_unbreaking_check matches 1 run return fail
# Handle Damage