EcoEnchants
EcoEnchants copied to clipboard
Modifying cost-exponent to mimic Vanilla cost specifically will prevent some custom enchants from working in anvils
Describe the bug With a lower cost-exponent than what the plugin sets by default, you cannot apply enchants that have a lot of levels (Boss Hunter, Bleed, Cubism etc.) to items via an anvil due to the XP cost being presumably less than 1.
To Reproduce Steps to reproduce the behavior:
- Set your cost-exponent to 0.45
- Give yourself a Bleed 1 book
- Try applying it to a sword in an anvil
Expected behavior For there to be a minimum XP level set no matter the enchant. It shouldn't deny being able to apply it at all, especially when the cost-exponent I've set is to copy Vanilla XP costs specifically
Screenshots https://gfycat.com/AggravatingAptArabianwildcat
Server Information (please complete the following information):
- Version: git-Paper-386 (MC: 1.19.3)
- Version of plugin and eco: eco version 6.50.2, EcoEnchants version 9.16.0
Additional context As stated, the reason I have it set to 0.45 is because that is what best copies Vanilla XP cost. If increasing this cost is the only fix, I think that's a bit ridiculous. I recommend having all enchants have a minimum XP cost to counter this issue, because it's obvious the enchants with 5+ enchants cause a problem when servers wish to copy vanilla costs. I hope this can be considered and fixed.