aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt
diff options
context:
space:
mode:
authorDeftu <deftudev@gmail.com>2024-06-08 00:58:54 +0200
committerDeftu <deftudev@gmail.com>2024-06-08 00:58:54 +0200
commit8f79d4056fc9116ac9b11e0580e3598263334248 (patch)
treead197a9587d3e051c1b951fdba8b967d9c63d468 /src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt
parent8cd54a2fc7d1020b76668ff234e36bd2adc52232 (diff)
downloadRemap-master.tar.gz
Remap-master.tar.bz2
Remap-master.zip
Diffstat (limited to 'src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt')
-rw-r--r--src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt b/src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt
index 9efd0e4..e6b523f 100644
--- a/src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt
+++ b/src/main/kotlin/com/replaymod/gradle/remap/Transformer.kt
@@ -177,11 +177,8 @@ class Transformer(private val map: MappingSet) {
config,
EnvironmentConfigFiles.JVM_CONFIG_FILES
)
- try {
- analyze1521(environment, emptyList())
- } catch (e: NoSuchMethodError) {
- analyze1620(environment, emptyList())
- }
+
+ analyze(environment, emptyList())
return environment
}