Closed faeldray closed 3 years ago
Status: | Fixed |
---|---|
Issue type: | Critical Bug |
Fix type: | Bugfix |
Fix version: | 2.0.1 |
Fix release date: | 05.08.2021 |
Issue confirmed for:
TODOs:
Which mod added the modded paintings?
I can't remember which painting I choose but I just did another test and I got the same crash with paintings from both Infernal Expansion and Macaw's Paintings.
I did notice that if the painting size I had chosen also had vanilla paintings of the same size, a vanilla painting would be selected when I loaded the game. But if the painting size only had modded paintings, that would cause it to crash instead.
I was able to get the same crash with a much smaller mod list to reduce the chances of some weird interaction. I discovered that if I just had one mod that adds paintings (ie. either Infernal Expansion or Macaw's Paintings), when I loaded the game for the second time, the selectable painting would revert to a vanilla painting without issue. But if I had more than one mod that adds paintings (ie. both Infernal Expansion and Macaw's Paintings), that's when I would get the crash.
Crash report: https://gist.github.com/faeldray/9d722c43ec1a83078502851348d576b0
I've implemented a fix. Please test, if this fix works for you. I will release this, if I get a positive response. SelectablePainting-1.16.5-2.0.1.zip
Sorry it took me so long to test this. I just did though and no more crashes!
Fixed with version 2.0.1
Versions Minecraft Version: 1.16.5 Minecraft Forge Version: 36.1.61 Mod Version: 2.0.0
Log files Crash report: https://gist.github.com/faeldray/17ef4728f6cc8f2efe59b26e6a48011c
Describe the bug After loading a single player game where I had a selectable painting in my inventory, whenever I moused over the painting, the game would crash. The painting had been "configured" (AKA I had selected a particular painting during my previous session). The selected painting was a modded one if that matters.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour No crashes when mousing over the painting.