cdbbnnyCode / modpack-installer

CurseForge modpack installer for Linux users
MIT License
131 stars 15 forks source link

local variable 'has_datapacks' referenced before assignment #26

Closed Zaczero closed 1 year ago

Zaczero commented 1 year ago
python install.py foo.zip --manual
Building Processors
Injecting profile
Finished!
Copying overrides
mods-resourcepacks...
mods...
resources...
scripts...
config...
Done!

To launch your new modpack, just open the Minecraft launcher normally.
The modpack will be available in your installations list.
Traceback (most recent call last):
  File "/home/user/Source/modpack-installer/install.py", line 260, in <module>
    main(args.zipfile, args.mcdir, args.forge_disable)
  File "/home/user/Source/modpack-installer/install.py", line 247, in main
    if has_datapacks:
UnboundLocalError: local variable 'has_datapacks' referenced before assignment
cdbbnnyCode commented 1 year ago

Oops! Thanks for reporting.

cdbbnnyCode commented 1 year ago

Fixed in dd83180