aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt')
-rw-r--r--src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt b/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
index e6b5f80..f999f8f 100644
--- a/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
+++ b/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
@@ -241,7 +241,7 @@ internal class PsiMapper(private val map: MappingSet, private val file: PsiFile)
val value = pair.value
if (value !is PsiLiteral) continue
val qualifiedName = value.value as? String ?: continue
- val mapping = map.findClassMapping(qualifiedName) ?: continue
+ val mapping = map.findPotentialInnerClassMapping(qualifiedName) ?: continue
val mapped = mapping.fullDeobfuscatedName?.replace('/', '.')
if (mapped != qualifiedName) {
replace(value, "\"$mapped\"")