Skip to content

Commit

Permalink
fix: Sometime curseforge detail cannot show
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Dec 27, 2023
1 parent 432c8c5 commit fec8060
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const modVersions = computed(() => {
}
for (const i of installed) {
const mcDep = (i as ModFile).dependencies.find(d => d.modId === 'minecraft')
const mcDep = 'dependencies' in i ? (i as ModFile).dependencies.find(d => d.modId === 'minecraft') : undefined
versions.push({
id: i.curseforge?.fileId.toString() ?? '',
name: i.resource.name ?? '',
Expand Down

0 comments on commit fec8060

Please sign in to comment.