fix accidental case-sensitivity change
This commit is contained in:
parent
565677c18c
commit
43e9e2cfe2
|
@ -331,7 +331,7 @@ namespace StardewModdingAPI.Framework.ContentManagers
|
|||
FileInfo file = this.FileLookup.GetFile(path);
|
||||
|
||||
// try with default image extensions
|
||||
if (!file.Exists && typeof(Texture2D).IsAssignableFrom(typeof(T)) && !ModContentManager.LocalTilesheetExtensions.Contains(file.Extension))
|
||||
if (!file.Exists && typeof(Texture2D).IsAssignableFrom(typeof(T)) && !ModContentManager.LocalTilesheetExtensions.Contains(file.Extension, StringComparer.OrdinalIgnoreCase))
|
||||
{
|
||||
foreach (string extension in ModContentManager.LocalTilesheetExtensions)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue