mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Revert no-lowercasing for the moment.
This commit is contained in:
parent
3754f57132
commit
5512e0cad2
2 changed files with 3 additions and 2 deletions
|
|
@ -52,6 +52,7 @@ public class PathResolver : IDisposable, IService
|
|||
if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb)
|
||||
return (null, ResolveData.Invalid);
|
||||
|
||||
path = path.ToLower();
|
||||
return category switch
|
||||
{
|
||||
// Only Interface collection.
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public static class SubMod
|
|||
if (files != null)
|
||||
foreach (var property in files.Properties())
|
||||
{
|
||||
if (Utf8GamePath.FromString(property.Name, out var p))
|
||||
if (Utf8GamePath.FromString(property.Name, out var p, true))
|
||||
data.Files.TryAdd(p, new FullPath(basePath, property.Value.ToObject<Utf8RelPath>()));
|
||||
}
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ public static class SubMod
|
|||
if (swaps != null)
|
||||
foreach (var property in swaps.Properties())
|
||||
{
|
||||
if (Utf8GamePath.FromString(property.Name, out var p))
|
||||
if (Utf8GamePath.FromString(property.Name, out var p, true))
|
||||
data.FileSwaps.TryAdd(p, new FullPath(property.Value.ToObject<string>()!));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue