how did a format change make the test fail

This commit is contained in:
Leo-MathGuy
2024-04-25 19:55:51 +05:00
parent 617953dd89
commit 56c68fef9c

View File

@@ -744,8 +744,8 @@ public class Mods implements Loadable{
}
}
Seq<String> left = currentRun.keys().toSeq();
if(contentOrder != null){
Seq<String> left = currentRun.keys().toSeq();
for (String contentName : contentOrder){
LoadRun run = currentRun.get(contentName);
if(run != null){
@@ -755,9 +755,10 @@ public class Mods implements Loadable{
Log.warn("Cannot find content defined in contentOrder: @", contentName);
}
}
runs.addAll(left.map(name -> currentRun.get(name)).sort());
}else{
runs.addAll(currentRun.values().toSeq().sort());
}
runs.addAll(left.map(name -> currentRun.get(name)).sort());
}
for(LoadRun l : runs){