Skip to content

Commit

Permalink
Merge branch 'develop' into 'main'
Browse files Browse the repository at this point in the history
Develop

See merge request Griefed/ServerPackCreator!604
  • Loading branch information
Griefed committed Aug 30, 2024
2 parents 0b318ed + c92e0c0 commit 124b035
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/devbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
title: "Development Build"
files: |
continuous/*
- name: Delete drafts
uses: hugo19941994/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get source archives
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1243,9 +1243,13 @@ class ConfigurationHandler(
log.error("Error acquiring icon.", ex)
}
packConfig.name = packConfig.modpackJson!!.get("launcher").get("name").asText()
packConfig.projectID = packConfig.modpackJson!!.get("curseForgeProject").get("id").asText()
packConfig.versionID = packConfig.modpackJson!!.get("curseForgeFile").get("id").asText()
packConfig.source = ModpackSource.CURSEFORGE
try {
packConfig.projectID = packConfig.modpackJson!!.get("launcher").get("curseForgeProject").get("id").asText()
packConfig.versionID = packConfig.modpackJson!!.get("curseForgeFile").get("id").asText()
packConfig.source = ModpackSource.CURSEFORGE
} catch (ex: Exception) {
log.error("Error acquiring modpack-source details. Please report this to ServerPackCreator in GitHub.", ex)
}
}

@Throws(NullPointerException::class)
Expand Down

0 comments on commit 124b035

Please sign in to comment.