fix IsEquivalentTo no longer ignoring surrounding whitespace

This commit is contained in:
Jesse Plamondon-Willard 2022-10-16 14:41:46 -04:00
parent 4e3b2810e6
commit 5d30b47e1e
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{