fix IsEquivalentTo no longer ignoring surrounding whitespace
This commit is contained in:
parent
4e3b2810e6
commit
5d30b47e1e
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue