Skip to content

local variable 'has_datapacks' referenced before assignment #26

@Zaczero

Description

@Zaczero
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions