Locks & Spoiled Incompatibility
PotionSeeker opened this issue ยท 3 comments
General Info
I've tested a potential crash that I've been having as of late and I've narrowed down the crash to an incompatibility between 'Locks' and 'Spoiled' and I'm wondering if there's any way this can be fixed on your end. From my limited experience, I believe that the crash may be caused because of the way that Locks manages containers that have been locked which Spoiled isn't able to run the 'tick' function that it uses to cause food items to spoil over time.
Client Info
- Minecraft Version - 1.16.5
- Forge Version - 1.16.5 - 36.1.23
- Installed Mods - mod:spoiled, mod:locks
Reproducing The Crash
The crash is easily and consistently repeatable:
- Start a new world in creative mode.
- Place down a chest
- Place some food items in the chest
- Immediately lock the chest
After a few moments, when spoiled tries to run 'SpoilHandler.onWorldTick' to initially update the quality of the food items in the container, it seems to be unable to interact with the 'ChestTileEntity' and so it crashes. I'm thinking that maybe this is happening because Locks is... working as intended and preventing things from messing with blocks that should be otherwise locked?
Crash Report
So am I, though I'm not yet sure of the cause. It does seem to be this particular combination (Locks and Spoiled), but it crashes even in newly generated worlds.
Can confirm this is still happening. Reported to Spoiled author as well
Forge: 1.16.5-36.2.19
Locks: 1.16.5-3.0.3
Spoiled: 1.16.5-1.4.3