diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-07 16:40:19 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-07 16:40:19 -0500 |
commit | 13ed6decf55a7fd72c34b965397011d3012cb9cc (patch) | |
tree | e0e1f96a2e8a24c116a437126c89cc4ba5a1c430 /src/SMAPI/Metadata | |
parent | a78b1935928919694dfe8de823a1accd6d222732 (diff) | |
parent | 2b3fb71f6a67cb275a71c5f86040db3286310364 (diff) | |
download | SMAPI-13ed6decf55a7fd72c34b965397011d3012cb9cc.tar.gz SMAPI-13ed6decf55a7fd72c34b965397011d3012cb9cc.tar.bz2 SMAPI-13ed6decf55a7fd72c34b965397011d3012cb9cc.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index d273c251..90629d7f 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -92,7 +92,7 @@ namespace StardewModdingAPI.Metadata bool anyChanged = false; foreach (GameLocation location in this.GetLocations()) { - if (this.GetNormalisedPath(location.mapPath.Value) == key) + if (!string.IsNullOrWhiteSpace(location.mapPath.Value) && this.GetNormalisedPath(location.mapPath.Value) == key) { this.Reflection.GetMethod(location, "reloadMap").Invoke(); this.Reflection.GetMethod(location, "updateWarps").Invoke(); |