Skip to content

Commit

Permalink
only look in root and 1.7.10 subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Caedis committed Mar 3, 2024
1 parent 695d9d8 commit 4333942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtnh/modpack_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ async def update_pack_inplace(
pinned_mods = f.read().splitlines()

# cache all active mods
active_mods = [x for x in glob.glob("**/*.jar", root_dir=mods_dir, recursive=True)]
active_mods = glob.glob("*.jar", root_dir=mods_dir) + glob.glob("1.7.10/*.jar", root_dir=mods_dir)
kept_mods = set()

for mod_dict in release.github_mods.items().__reversed__():
Expand Down

0 comments on commit 4333942

Please sign in to comment.