Skip to content

Commit c7522a5

Browse files
committed
Slight unfucking.
1 parent 379bb72 commit c7522a5

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

www/modloader/early_loader.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,20 @@
741741
if (!skipChecks.has(mod.json.id.toLowerCase()))
742742
skipChecks.set(mod.json.id.toLowerCase(), new Set());
743743

744-
let skips = skipChecks.get(mod.json.id.toLowerCase());
744+
let skips = /* skipChecks.get(mod.json.id.toLowerCase()); */ new Set();
745+
for (let a of skipChecks.get(mod.json.id.toLowerCase())) {
746+
skips.add(a);
747+
}
748+
if (mod.json.satisfies) {
749+
for (let innerSatisfaction of mod.json.satisfies) {
750+
if (!skipChecks.has(innerSatisfaction.toLowerCase()))
751+
skipChecks.set(innerSatisfaction.toLowerCase(), new Set());
752+
753+
for (let a of skipChecks.get(innerSatisfaction.toLowerCase())) {
754+
skips.add(a);
755+
}
756+
}
757+
}
745758
if (mod.json.excludes) {
746759
for (let exclude of mod.json.excludes) {
747760
if (skips.has(exclude.toLowerCase())) continue;

0 commit comments

Comments
 (0)