Majrusz / MajruszLibrary

Library with common code for my Minecraft modifications.
8 stars 6 forks source link

[1.18.2] repair_material entries are being turned into strange code that removes the ability to repair the item. #35

Closed Thombias closed 9 months ago

Thombias commented 9 months ago

Hi there,

i've noticed during testing that i wasn't able to repair any of my items that i've put in the repair_material section of the config. The mod doesn't crash or show an error at startup, neither does the log show it as an error, but upon closer inspection the entries for the repair material of an item are being turned into some weird code in the log (presumably an error code) by the mod rather than the ID or tag of the item i put in the config.

Here's a screenshot of what i'm talking about: grafik

And here's what i've written down in the config file: grafik

The way i've written the repair materials down SHOULD work like that, right? The issue i'm getting with this strange behavior is, that while the item does show up to be repairable when i put the tool/armor and the repair material in the anvil gui, but when i click on the output slot nothing happens. All items stay as if my left clicks are being ignored and nothing is consumed and repaired.

If it turns out to be a bug, is there any chance this can get fixed for the 1.18.2 version of the mod? I desperately need a mod like this for the type of modpack i'm working on and i am unable to upgrade to 1.19.2 yet. ^^

Thanks in advance!

MC version: 1.18.2 Forge version: 40.2.10 Mod version: 1.18.2-0.3.2

Thombias commented 9 months ago

I just found the culprit. It was "Fixed Anvil Repair Cost" by Serilum that broke repairing alltogether when combined with Property Modifer. I removed their mod and it's working again, won't be using that one anytime soon now. Gonna close this issue as it's been resolved.