maybe fix a crash on load due to missing fileswaps

This commit is contained in:
Adam 2021-02-15 21:22:59 +11:00
parent fe734776fb
commit 41b02abc2f

View file

@ -199,7 +199,7 @@ namespace Penumbra.Mods
} }
foreach( var swap in mod.Meta.FileSwaps ) foreach( var swap in mod.Meta?.FileSwaps )
{ {
// just assume people put not fucked paths in here lol // just assume people put not fucked paths in here lol
if( !SwappedFiles.ContainsKey( swap.Value ) ) if( !SwappedFiles.ContainsKey( swap.Value ) )