Apotheosis

Apotheosis

81M Downloads

IllegalArgumentException when generating librarian enchanted book trades

cartermll opened this issue ยท 1 comments

commented

I encounter this crash when a villager first becomes a librarian. If its trades included an enchanted book, the game crashes with the attached crash log. This doesn't happen when the enchantment module is disabled. The crash log is from a server, but it happens in singleplayer worlds as well.

crash-2024-12-01_19.36.40-server.txt

commented

Figured it out, the enchantments.cfg file that was automatically generated had most values set to 1 or false. I've attached it below. I'm not sure why it generated like this, wouldn't be shocked if I messed something up while setting up my server.

enchantments.txt