Crash with Candlelight
hu7x opened this issue ยท 1 comments
Describe the bug
Crash Log:https://pastebin.com/WfYUZ113
To Reproduce
Steps to reproduce the behavior:
- Open backpack
- Put feeding upgrade in backpack
- Put Candlelight's Food
- While Auto Feed
- Game Crash
Expected behavior
Candlelight's Food cannot be eaten in one go,this could be the cause of the crash
Screenshots
None
Versions
Sophisticatedbackpacks-1.20.1-3.20.5.1044
Sophisticatedcore-1.20.1-0.6.22.611
This happens because candlelight is looking for the stack in player's inventory and when it can't find it there it tries to access non existent slot and crashes on that. They appear to have this fixed in farm and charm compat branch that appears like something that needs to be released. Anyway this would happen if any other mod tried to do similar thing - trigger eat code when the item isn't in player's inventory - and should be fixed on candlelight's side.