Run forge installer for all versions of forge

This commit is contained in:
Andrew 2022-12-23 20:14:41 -05:00
parent 9dac0b5d85
commit ddaac25060

View File

@ -192,7 +192,7 @@ class ServerJars:
with open(path, "wb") as output:
shutil.copyfileobj(r.raw, output)
# If this is the newer forge version we will run the installer
if server == "forge" and int(version.split(".")[1]) > 15:
if server == "forge":
ServersController.finish_import(server_id, True)
else:
ServersController.finish_import(server_id)