Incompatibility with Unmending mod
AfterRebelion opened this issue ยท 2 comments
Issue Description:
When Blood Magic is installed, Unmending functionality breaks, and any item that had mending enchantment can be repaired.
Since this is a intermod compatibility issue, I also created an issue report in the Unmending project:
VazkiiModsArchive/Unmending#3
What happens:
You can find a item with mending (loot chest, for example), and the mending enchantment will work, repairing the item.
What you expected to happen:
Unmending should prevent the item from getting durability, even when mending enchantment is applied to the item.
Steps to reproduce:
- Have an instance with Blood Magic and Unmending
- Give yourself an damaged item, and apply mending enchantment to it with creative
- Splash a bottle o' enchanting, and you can see the item you are holding repaired
...
Affected Versions (Do not use "latest"):
- BloodMagic: 1.12.2-2.4.0-102
- Minecraft: 1.12.2
- Forge: 14.23.5.2822
- Unmending: 1.0-2
At first I though this would be because the mod cancels the event before it gets to Unmending, but looking at the code, the reason is much simple... but strange...
Blood Magic for some reason circumvents the whole Mending system. It seems to be made to let the mending enchantment do it's thing before the experience tome...
Is that really necessary?