Enchanted ToolTips

Enchanted ToolTips

3M Downloads

Shift over book with removed enchants crashes game.

ellie-semele opened this issue ยท 0 comments

commented

Game crashes when and enchanted books with removed enchantments is shift'd over.
Due to (this) returning null.

Enchantment enchant = Registry.ENCHANTMENT.get(enchantID);

Can be fixed by easily adding a null check if(enchant == null) continue; however it would be nice to see the mod display the removed enchantments Identifier something like:
Removed Enchantment: somemod:terror_ench