also update multiplayer map cache for host player

This commit is contained in:
Jesse Plamondon-Willard 2022-11-12 13:50:02 -05:00
parent c1e3b25dca
commit 57d3e2b98e
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 2 additions and 3 deletions

View File

@ -1171,8 +1171,7 @@ namespace StardewModdingAPI.Metadata
GameLocation location = locationInfo.Location;
Vector2? playerPos = Game1.player?.Position;
// clear multiplayer cache for farmhands
if (!Context.IsMainPlayer)
// remove from multiplayer cache
this.Multiplayer.cachedMultiplayerMaps.Remove(location.NameOrUniqueName);
// reload map