Shadows-of-Fire / Apotheosis

All things that should have been.
Other
151 stars 119 forks source link

Limited Enchantability on books #1230

Closed abby-cadabra closed 2 months ago

abby-cadabra commented 2 months ago

Hi there,

Having a weird bug (?) on Forge 1.20.1. About half the time when I go to enchant a Book, it will return "Limited Enchantability" or else be completely blank.

2024-04-17_11 41 44 2024-04-17_11 41 59

When I look at the latest.log, I do see something happening around the time of the bug:

[11:42:09] [Server thread/ERROR]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundContainerButtonClickPacket@1a75d869, suppressing error java.lang.NullPointerException: Cannot invoke "chronosacaria.mcdw.bases.McdwDagger.m7968()" because the return value of "chronosacaria.mcdw.enums.DaggersID.getItem()" is null

Wondering if this might point to an incompatibility with MC Dungeons Weapons? Otherwise I have no clue.

Shadows-of-Fire commented 2 months ago

From what I can tell something is modifying the enchantment table, since the Enchanting Info popup (the ? button on the top-left of the menu) is absent. What version of the mod are you using?

abby-cadabra commented 2 months ago

I seem to have fixed this one through advice from MCDW devs! The latest MCDW seems to break things unless you delete the configs. Regenerating the MCDW configs fixes this issue.

Hopefully this will be helpful for anyone else who runs into the same problem.