Fix main list flipping itself backwards after a deploy

This commit is contained in:
Downforce Agent 2024-08-02 18:26:39 -05:00
parent 91a574bb04
commit 64230f5eb4

View File

@ -163,7 +163,7 @@ public class Gonzo {
// overwrite assets with custom ones from each mod and/or perform operations as specified in mod's delete list
// todo: implement RegEx functions after delete.txt
List<Main.Mod> modsFlipped = Main.Mods;
List<Main.Mod> modsFlipped = new ArrayList<>(Main.Mods);
Collections.reverse(modsFlipped);
for (Main.Mod m : modsFlipped) {
if (m.enabled) {