From 64230f5eb4f6dc2f613577341df7a50e0f950e57 Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Fri, 2 Aug 2024 18:26:39 -0500 Subject: [PATCH] Fix main list flipping itself backwards after a deploy --- firestar/src/main/java/Gonzo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firestar/src/main/java/Gonzo.java b/firestar/src/main/java/Gonzo.java index a9948f4..c56e032 100644 --- a/firestar/src/main/java/Gonzo.java +++ b/firestar/src/main/java/Gonzo.java @@ -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 modsFlipped = Main.Mods; + List modsFlipped = new ArrayList<>(Main.Mods); Collections.reverse(modsFlipped); for (Main.Mod m : modsFlipped) { if (m.enabled) {