[Crash]: Rerolling enchantments on book/shovel/pickaxe crashes server (modpack "Dungeon heroes RPG series")
H0401 opened this issue ยท 4 comments
Mod Loader (Required)
Fabric
Minecraft Version(s) (Required)
1.21.1
Mod Version(s) (Required)
v21.1.0
Notes (Required)
- Opens enchanting table
- Puts in book/pickaxe/shovel and lapis
- Starts rerolling enchantments
- Then randomly server crashes
Seems so that only pickaxes/shovels/books can trigger this crash since with weapons it didnt happen.
I am sorry for that i do not own the crash report, for some reason my server only generates logs and has no crash-reports folder. crash starts at line 1244 in the log.
Crash Report (Required)
https://gist.github.com/H0401/927c8d179e3fb048f986689a56d2e937
latest.log (Optional)
https://gist.github.com/H0401/927c8d179e3fb048f986689a56d2e937
Sorry i missclicked about fixing the issue.
I didnt manage to reproduce the crash on server with only easy magic and easy anvils installed same version of everything.
I gave the logs to chatgpt and he mentioned that some method is trying to remove() from immutable list.
it also mention the list might become immutable if:
- The tool or book has specific metadata, (most likely not the cause happens even with recently crafted diamond shovel)
- There's a conflicting enchantment, (no idea whats a conflicting enchantment)
- Or the enchantability level is incompatible, (no idea about this either)
- Or a mod (like Spell Engine, Wizards, Trinkets, etc.) has injected enchantments incorrectly. (most of the enchants from these mods appear to be functioning correctly)
Hope this atleast helps a little.
Edit: For some reason after changing "enchantment_hint" to "ALL" and restarting the server. The error still appears in the console but it doesnt crash the server. Honestly i have absolute no idea whats going on now...
It's a mod conflict, but which mod is the issue isn't clear from the logs.
Please do a binary search to find out which mod is conflicting. You always remove half of your mods, again and again, until you find which one is conflicting.