
Crash with the feeding upgrade and the mod "[Let's Do] Candlelight"
Kingdemonic666 opened this issue ยท 3 comments
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
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)