mirror of
https://github.com/architectury/architectury-plugin.git
synced 2026-03-28 04:07:01 -05:00
Not fail with 0.6 loom
This commit is contained in:
@@ -87,9 +87,11 @@ open class TransformTask : Jar() {
|
||||
runCatching {
|
||||
refmapHelperClass = Class.forName("net.fabricmc.loom.util.MixinRefmapHelper")
|
||||
}.onFailure {
|
||||
refmapHelperClass = Class.forName("net.fabricmc.loom.build.MixinRefmapHelper")
|
||||
}.onFailure {
|
||||
throw ClassNotFoundException("Failed to find MixinRefmapHelper!")
|
||||
runCatching {
|
||||
refmapHelperClass = Class.forName("net.fabricmc.loom.build.MixinRefmapHelper")
|
||||
}.onFailure {
|
||||
throw ClassNotFoundException("Failed to find MixinRefmapHelper!")
|
||||
}
|
||||
}
|
||||
|
||||
val method = refmapHelperClass!!.getDeclaredMethod(
|
||||
|
||||
Reference in New Issue
Block a user