mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
More fixes, some cleanup.
This commit is contained in:
parent
581b91b337
commit
e6752ade04
20 changed files with 193 additions and 361 deletions
|
|
@ -49,6 +49,12 @@ public partial class PathResolver : IDisposable
|
|||
resolved = Penumbra.ModManager.Collections.ForcedCollection.ResolveSwappedOrReplacementPath( gamePath );
|
||||
if( resolved == null )
|
||||
{
|
||||
// We also need to handle defaulted materials against a non-default collection.
|
||||
if( nonDefault && gamePath.Path.EndsWith( 'm', 't', 'r', 'l' ) )
|
||||
{
|
||||
SetCollection( gamePath.Path, collection );
|
||||
}
|
||||
|
||||
return ( null, collection );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue