also update multiplayer map cache for host player
This commit is contained in:
parent
c1e3b25dca
commit
57d3e2b98e
|
@ -1171,9 +1171,8 @@ namespace StardewModdingAPI.Metadata
|
|||
GameLocation location = locationInfo.Location;
|
||||
Vector2? playerPos = Game1.player?.Position;
|
||||
|
||||
// clear multiplayer cache for farmhands
|
||||
if (!Context.IsMainPlayer)
|
||||
this.Multiplayer.cachedMultiplayerMaps.Remove(location.NameOrUniqueName);
|
||||
// remove from multiplayer cache
|
||||
this.Multiplayer.cachedMultiplayerMaps.Remove(location.NameOrUniqueName);
|
||||
|
||||
// reload map
|
||||
location.interiorDoors.Clear(); // prevent errors when doors try to update tiles which no longer exist
|
||||
|
|
Loading…
Reference in New Issue