From 617953dd89dd99999f5e899de74590d975715652 Mon Sep 17 00:00:00 2001 From: Leo-MathGuy Date: Thu, 25 Apr 2024 19:44:44 +0500 Subject: [PATCH] format --- core/src/mindustry/mod/Mods.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/mindustry/mod/Mods.java b/core/src/mindustry/mod/Mods.java index c31f648637..0e5580a944 100644 --- a/core/src/mindustry/mod/Mods.java +++ b/core/src/mindustry/mod/Mods.java @@ -738,11 +738,7 @@ public class Mods implements Loadable{ Fi folder = contentRoot.child(lower + (lower.endsWith("s") ? "" : "s")); if(folder.exists()){ for(Fi file : folder.findAll(f -> f.extension().equals("json") || f.extension().equals("hjson"))){ - if(contentOrder == null){ - runs.add(new LoadRun(type, file, mod)); - }else{ - currentRun.put(file.nameWithoutExtension(), new LoadRun(type, file, mod)); - } + currentRun.put(file.nameWithoutExtension(), new LoadRun(type, file, mod)); } } }