Closed Leomelonseeds closed 1 month ago
This is most likely true. I'll still test it just to make sure, but yeah, I can see that happening. If so, we'll fix that
Should be fixed in the next update! I am not sure about the Too Expensive text, that might be client side, but it should now use the maxRepairCost set on the event
Describe the bug
Certain plugins such as AuraSkills (formerly known as Aurelium Skills) use the
AnvilInventory#setMaximumRepairCost
to bypass the vanilla limit of 40 levels for anvil repairs. AdvancedEnchantments seems to not respect this, and disallows enchanting anyways. The relevant method in AuraSkills is here: https://github.com/Archy-X/AuraSkills/blob/c14e55960a7c22efe0cc047e4594d7a4f7809b9e/bukkit/src/main/java/dev/aurelium/auraskills/bukkit/skills/enchanting/EnchantingAbilities.java#L167How to reproduce
Either code a custom plugin that sets the maximum repair cost to >40 levels, or:
/skills skill setlevel [player] enchanting 100
. This allows you to use a passive ability calledAnvil Master
, supposedly increasing the maximum repair cost to 100 levels.Screenshots / Videos
On a server with AuraSkills and no AdvancedEnchantments:
This enchant costs 50 levels when displayed in creative mode. In survival, the item can still be taken, and I am left with 50 levels of experience, from 100.
On a server with AuraSkills and AdvancedEnchantments:
This was done using the exact same enchants and enchanting order. It should still cost 50 levels, but it won't display a resulting item anymore.
"/ae plinfo" link
https://paste.md-5.net/apagacukil
Server Log
No response