diff --git a/Penumbra/Importer/TexToolsImport.cs b/Penumbra/Importer/TexToolsImport.cs index f6b366eb..d650a326 100644 --- a/Penumbra/Importer/TexToolsImport.cs +++ b/Penumbra/Importer/TexToolsImport.cs @@ -240,7 +240,7 @@ private void ImportExtendedV2ModPack( ZipFile extractedModPack, string modRaw ) ); } - private void AddMeta( DirectoryInfo baseFolder, DirectoryInfo groupFolder, ModGroup group, ModMeta meta ) + private static void AddMeta( DirectoryInfo baseFolder, DirectoryInfo groupFolder, ModGroup group, ModMeta meta ) { var Inf = new InstallerInfo { @@ -257,7 +257,7 @@ private void AddMeta( DirectoryInfo baseFolder, DirectoryInfo groupFolder, ModGr OptionFiles = new Dictionary< string, HashSet< string > >() }; var optDir = new DirectoryInfo( Path.Combine( groupFolder.FullName, opt.Name.ReplaceInvalidPathSymbols() ) ); - if( !optDir.Exists ) + if( optDir.Exists ) { foreach( var file in optDir.EnumerateFiles( "*.*", SearchOption.AllDirectories ) ) {