diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-16 14:41:46 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-16 14:41:46 -0400 |
commit | 5d30b47e1e903f7ceb53116528255934c238e5ba (patch) | |
tree | 93f4268f7c98a8dbde8ef94b3336cae98dfc8e4e /src/SMAPI | |
parent | 4e3b2810e6951b72bdf5c5cbdd23a079d53a4c96 (diff) | |
download | SMAPI-5d30b47e1e903f7ceb53116528255934c238e5ba.tar.gz SMAPI-5d30b47e1e903f7ceb53116528255934c238e5ba.tar.bz2 SMAPI-5d30b47e1e903f7ceb53116528255934c238e5ba.zip |
fix IsEquivalentTo no longer ignoring surrounding whitespace
Diffstat (limited to 'src/SMAPI')
-rw-r--r-- | src/SMAPI/Framework/Content/AssetName.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Content/AssetName.cs b/src/SMAPI/Framework/Content/AssetName.cs index c0572105..6220ea61 100644 --- a/src/SMAPI/Framework/Content/AssetName.cs +++ b/src/SMAPI/Framework/Content/AssetName.cs @@ -97,7 +97,7 @@ namespace StardewModdingAPI.Framework.Content return false; AssetNamePartEnumerator curParts = new(useBaseName ? this.BaseName : this.Name); - AssetNamePartEnumerator otherParts = new(assetName); + AssetNamePartEnumerator otherParts = new(assetName.AsSpan().Trim()); while (true) { |