Building interiors constructed by a farmhand not tracked correctly for events until world is restarted
Pathoschild opened this issue ยท 0 comments
When a farmhand constructs a new farm building, multiplayer sync on other players continuously replaces the Building::indoors
value for farm buildings with a new location instance.
That breaks events since SMAPI ends up watching an old location instance that doesn't have the new changes, and SMAPI can't just rebuild the location tracker (since that would lose any changes done as part of the sync).
Repro steps
- Install Automate and CJB Cheats Menu.
- Enable verbose mode in
smapi-internal/config.json
. - Launch the game twice: once to host a multiplayer server, and once to join it as a farmhand.
- As the farmhand, construct a new shed with CJB Cheats Menu's instant build enable.
The host console should show a verbose Automate log about a new location. - As the host, enter the shed and put down some chests/machines/inputs for Automate.
The host console doesn't show any Automate logs about object changes, and automation doesn't work in the shed.