BUG: crash with Minecolonies
emanuele246gi opened this issue ยท 3 comments
Minecraft Version: 1.18.2
Forge Version: 40.1.74
Lightman's Currency Version: 1.2.0.6
Other Relevant Mods & Version (LC Tech, etc.): you can see the modlist in the crash report
Connection Type: Single-Player
Describe the bug
The game crashes when I try to build with Minecolonies a customized building with a block from this mod (I specifically tried this with only the ticket kiosk, but the crash report doesn't say its name
To Reproduce
Steps to reproduce the behavior:
- Build and save something for Minecolonies with the ticket kiosk in it
- Try to rebuild it with their builder
- The game crashes as you select the building level that has this block in it.
- See error
Expected behavior
To just build it without issues.
Crash Reports
https://pastebin.com/jGTtgzrQ
Oh thank you, sorry if I didn't reply before, I was busy, but thank you again man!
Oddly enough, the issue seems to be with getting the block entity from the shelf, not the ticket kiosk, but either way I'll throw in some null-checks into the capability getters, etc. I'm guessing they're doing some weird "simulation" stuff before placing, considering that the crash is caused by a null level (which should obviously never happen in and standard scenario), but regardless it shouldn't be too hard to fix.