Sophisticated Storage

Sophisticated Storage

36M Downloads

Crash with the feeding upgrade and the mod "[Let's Do] Candlelight"

Kingdemonic666 opened this issue ยท 3 comments

commented

When a Sophisticated Barrel/Shulker/Chest/Backpack with a feeding upgrade tries to feed the player one of the foods from the mod highlighted in the attached picture the game will crash due to a ticking exception (java.lang.ArrayIndexOutOfBoundsException).
The foods highlighted in red have multiple stages of being eaten, I'm sure this is the cause of the problem as the other foods from the mod don't crash the game.
It is worth mentioning that this crash also applies to Sophisticated Backpacks
Crash
Crashing Foods

commented

You will need to report this to Candlelight. Looks like the mod crashed because it couldn't find any space in player's inventory (and thus got an index of -1) and in 1.20 they don't have a proper check for this condition (appears to be fixed in 1.21)

commented

Could you share the actual crash log?