Shadows-of-Fire / Apotheosis

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

Crash when opening inventory & chest #1231

Closed cal1407 closed 1 month ago

cal1407 commented 2 months ago

Pretty straightforward. The game would crash when I tried opening the inventory or any storage (i.e. chests), with the logs mentioning this mod here.

Crash Report: crash-2024-04-17_20.47.34-server.txt

Log: latest.log

Shadows-of-Fire commented 1 month ago

The linked crash is coming out of the vanilla worldgen function StructurePiece#reorient, which is responsible for aligning chests to be facing away from the nearest wall. It is not capable of selecting the UP direction as your crash report would imply, so I'm pretty sure this is the fault of some other mod's mixin. Unfortunately there isn't much I can do about it, this is the same code that vanilla uses for dungeon placement.