mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fix reinforced tools not repairing with moss
This commit is contained in:
1 parent
ea8f1fe0c0
commit
3cd211e9f4
1 file changed
+1
-1
@@ -361,7 +361,7 @@ public class AbilityHelper
|
||||
|
||||
// calculate in reinforced/unbreaking
|
||||
int reinforced = 0;
|
||||
if(tags.hasKey("InfiTool"))
|
||||
if(tags.hasKey("InfiTool") && dam > 0) // unbreaking only affects damage, not healing
|
||||
{
|
||||
NBTTagCompound toolTags = tags.getCompoundTag("InfiTool");
|
||||
if(toolTags.hasKey("Unbreaking"))
|
||||
|
||||
Reference in new issue
Block a user