diff --git a/asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt b/asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt index 21f27e60..4fd54d86 100644 --- a/asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt +++ b/asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt @@ -37,7 +37,7 @@ object ClassForNameUtils { fun remap(remapper: Remapper, method: MethodNode) { for (ldc in findLdcInsns(method)) { - val name = remapper.map(internalName(ldc)) + val name = remapper.mapType(internalName(ldc)) if (name != null) { ldc.cst = name.toBinaryClassName() }