Fix main list flipping itself backwards after a deploy
This commit is contained in:
parent
91a574bb04
commit
64230f5eb4
|
@ -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
|
// 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
|
// todo: implement RegEx functions after delete.txt
|
||||||
List<Main.Mod> modsFlipped = Main.Mods;
|
List<Main.Mod> modsFlipped = new ArrayList<>(Main.Mods);
|
||||||
Collections.reverse(modsFlipped);
|
Collections.reverse(modsFlipped);
|
||||||
for (Main.Mod m : modsFlipped) {
|
for (Main.Mod m : modsFlipped) {
|
||||||
if (m.enabled) {
|
if (m.enabled) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user