mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
fix folder migration
This commit is contained in:
@@ -22,8 +22,7 @@ public final class FileUtils {
|
||||
|
||||
File configDirectory = SkinRestorer.getConfigDir().toFile();
|
||||
File[] files = configDirectory.listFiles(
|
||||
(file, name) -> file.isFile()
|
||||
&& !name.startsWith(Translation.LEGACY_TRANSLATION_FILENAME)
|
||||
(root, name) -> !name.startsWith(Translation.LEGACY_TRANSLATION_FILENAME)
|
||||
&& !name.startsWith(Config.CONFIG_FILENAME)
|
||||
&& name.endsWith(SkinIO.FILE_EXTENSION)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user