Crash Rendering entity in world
Flexz9 opened this issue ยท 3 comments
Minecraft Version
1.20.1
Describe the Bug
Description: Rendering entity in world
Reproduction Steps
- Multishot enchant int blaze burner
- Try to enchant (crash)
- Login
- Break block (this crash on each login)
Expected Result
Don't crash
Screenshots and Videos
No response
Crash Report or Log
https://gist.github.com/Flexz9/2be67cf82291acd22b60e8766ac66fd4
Other Mods
No response
Mod Version
create_enchantment_industry-1.20.1-for-create-0.5.1.f-1.2.8
Forge Version
47.2.20
try {
var result = enchantments.get(index);
return EnchantmentEntry.of(result.getKey(), result.getValue());
} catch (IndexOutOfBoundsException e) {
return null;
}
This solved it for me. Can be closed on my part as I just patched a version with this. May be useful to add on your end.
That's strange. The only possible situation is certain enchantment of the enchantment book has been removed from the game.