Skip to content

Commit

Permalink
Sort config stream
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Mar 16, 2023
1 parent 45d96e8 commit 0abf4b6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void load() {
.filter(Files::isRegularFile)
.filter(p -> p.toString().endsWith(".json"))
.filter(p -> !p.getFileName().toString().equals("modpack.json"))
.sorted()
.forEach(this::addConfig);
} catch(IOException e) {
director.getLogger().logThrowable(ModDirectorSeverityLevel.ERROR, "ModDirector/ConfigurationController",
Expand Down

0 comments on commit 0abf4b6

Please sign in to comment.