20.08.2026 13:12:50 Samuel <samuel4el@gmail.com>:
Op wo 19 aug 2026 om 23:32 schreef mschae <contact@mschae23.de>:
Hmm, it shouldn't matter which slot you put the items in (except when moving enchantments, of course). Are you sure it's not possible the other way around?
When the enchantment gets transferred this way, what happens? Does the player's XP just get set to zero?
I'll investigate this as soon as I can, but I'm unfortunately away for a few weeks right now 😅
Did a bit more testing on a clean instance with only the Fabric API and Grind Enchantments installed, and found out that it doesn't happen with the default config, but does with my custom one. I'll attach it here so you can test it for yourself.
Thanks! Having the config is really helpful. I sadly can't tell what would cause this issue at first glance (everything seems to look correct to me). It's odd that it works fine with the default config, as I don't see anything that would change the behaviour of checking whether you have enough XP. The cost function is different, of course, but that's just used for determining how much has to be paid. "consume_enchanted_item" only has an effect once you take the resulting item. And if it's reproducable in a clean instance without other mods, it couldn't be mod compatibility code either... So yeah, I wish I could debug this immediately, but as I mentioned, I can't. I hope it's alright if you have to wait a bit.