Skip to content

Commit

Permalink
Fix ProviderMismatchException when merging unzipped base pack
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode committed Oct 10, 2024
1 parent 721f735 commit 576ce6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class BasePacks internal constructor(private val builder: ResourcePackBuilder) {
}

val relPath = file.relativeTo(packDir)
val packFile = ResourcePackBuilder.PACK_DIR.resolve(relPath)
val packFile = ResourcePackBuilder.PACK_DIR.resolve(relPath.invariantSeparatorsPathString)

packFile.parent.createDirectories()
val fileMerger = mergers.firstOrNull { it.acceptsFile(relPath) }
Expand Down

0 comments on commit 576ce6d

Please sign in to comment.