Skip to content

Commit

Permalink
Ignore generated mods
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Mar 24, 2024
1 parent 29df53b commit 2cad44b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ public void onLoadResourcePacks(GeyserLoadResourcePacksEvent event) {
continue;
}

// Ignore generated mods
if (mod.id().startsWith("generated_")) {
continue;
}

Path packPath = packsPath.resolve(mod.id() + ".zip");
if (!event.resourcePacks().contains(packPath) || checkNeedsConversion(mod, packPath)) {
packsToLoad.put(mod.id(), Pair.of(mod, packPath));
Expand Down

0 comments on commit 2cad44b

Please sign in to comment.