Skip to content

Commit

Permalink
no longer suspend needed
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Aug 13, 2024
1 parent d064887 commit 428bdef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ object AccessWidenerApplier {
return false
}

suspend fun mergeAws(
fun mergeAws(
inputs: List<Path>,
output: Path,
targetNamespace: Namespace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,12 @@ class AccessConvertImpl(val project: Project, val provider: MinecraftProvider) :
}

private fun mergeAws(output: File, namespace: Namespace, inputs: List<File>): File {
return runBlocking {
AccessWidenerApplier.mergeAws(
inputs.map { it.toPath() },
output.toPath(),
namespace,
provider.mappings
).toFile()
}
AccessWidenerApplier.mergeAws(
inputs.map { it.toPath() },
output.toPath(),
namespace,
provider.mappings
).toFile()
}

}

0 comments on commit 428bdef

Please sign in to comment.