minecolonies:cook has thrown an exception
AnyankaT opened this issue ยท 6 comments
Is there an existing issue for this?
- I have searched the existing issues.
Are you using the latest MineColonies Version?
- I am running the latest beta/release version of MineColonies for my Minecraft version.
I am also running the latest versions of other mods that are part of my problem.
Did you check on the Wiki? or ask on Discord?
- I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.
Minecraft Version
1.20
MineColonies Version
1.20.1-1.1.791
Structurize Version
1.20.1-1.0.763
Related Mods and their Versions
Mod list in latest.log
Reproduction Steps
- update to latest version of Minecolonies (from 787)
- Start server
- receive multiple errors: "[Server thread/ERROR] [minecolonies/]: A Building minecolonies:cook(com.minecolonies.core.colony.buildings.workerbuildings.BuildingCook) has thrown an exception during loading, its state cannot be restored. Report this to the mod author" (details in latest.log
Logs
https://gist.github.com/AnyankaT/01711aea361b3e4d5ad1fd7c3a2186bc
Anything else?
No response
Footer
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.
Don't know if it's related, but one of my players also got an AI error in their bakery just after logging in.
latest.log
We went around our server creative pasting back any restaurant that had "lost its respective building." They were all functional again. But after a server restart my, and at least one other player's restaurant had again "lost its respective building." We are testing the hypothesis that the fixed restaurants that broke had added back menu items and fuel, because one colony had the restaurant replaced, did not add fuel or menu items, and after the restart it was still functional.
Edited to add I am on the OPs server.
Another update. After server's scheduled restart my restaurant had "lost its respective building" again. Another colony that was not affected at the earlier restart, was affected with this latest restart. The difference being that I had set menu items and fuel in it when I went to check on it. So, I think whatever the error is, it has to do with menu items being set.
This was introduced by #10579.