Refactor SkinManager (#230)

This commit is contained in:
ZekerZhayard authored and GitHub committed 2022-12-07 19:38:24 +08:00
1 parent 63251c9f5e
commit f38a8ddcef
53 files changed
+1063 -562

No files matched your search

@@ -235,7 +235,7 @@ public class Config {
profiles.addAll(defaultProfiles);
}
}
profiles.sort(Comparator.comparingInt(ICustomSkinLoaderPlugin.IDefaultProfile::getPriority));
profiles.sort((c1, c2) -> Integer.compare(c1.getPriority(), c2.getPriority()));
List<SkinSiteProfile> loadlist = new ArrayList<>();
for (ICustomSkinLoaderPlugin.IDefaultProfile profile : profiles) {