The Magic Mirror

The Magic Mirror

875k Downloads

Crash with NeoForge 1.21.1 in debug world (idk why)

Lolothepro opened this issue ยท 2 comments

commented

Thank you for reporting!
The logs indicate a rather curious issue: it appears to be attempting to use a type of doorknob that doesn't exist.
The list of available doorknobs hasn't changed since the introduction of Netherite, so I'm a bit stumped about what might have caused this.

Was this a random one-off error or is this consistently reproducible in your instance?

This issue does point to the lack of handling of this specific case, so I'll see if I can at least make it not crash.

commented

I have a fix going out now, which should prevent the crash.

I can't reproduce this scenario exactly, but now the worst case scenario is that you lose a doorknob (assuming this impacts the server as well as the client).
I verified this by using a command to manually break a door's block data.

I'll close this issue for now. If you have any more details regarding how to trigger / reproduce this, feel free to reopen.