Skip to content

Commit

Permalink
fix contentOf(File)
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Oct 7, 2024
1 parent 5d6b9d5 commit 259ff9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ class MappingsProvider(project: Project, minecraft: MinecraftConfig, subKey: Str
}

fun contentOf(file: File): ContentProvider {
return MappingContentProvider(project.dependencies.create(file), file.extension)
return MappingContentProvider(project.dependencies.create(project.files(file)), file.extension)
}

override fun hasStubs(): Boolean {
Expand Down

0 comments on commit 259ff9c

Please sign in to comment.