This commit is contained in:
Anuken
2023-02-18 19:47:22 -05:00
parent 150215712b
commit 7401e7fe31
2 changed files with 3 additions and 1 deletions

View File

@@ -522,6 +522,8 @@ public class Mods implements Loadable{
private void buildFiles(){
for(LoadedMod mod : orderedMods()){
if(!mod.shouldBeEnabled()) continue;
boolean zipFolder = !mod.file.isDirectory() && mod.root.parent() != null;
String parentName = zipFolder ? mod.root.name() : null;
for(Fi file : mod.root.list()){