From 4f17d67039c96f3ce139032175528d9a91959793 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 30 May 2020 19:14:09 +0100 Subject: [PATCH] Use mapType() instead of map() in ClassForNameUtils for consistency Signed-off-by: Graham --- asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt b/asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt index 21f27e607f..4fd54d863e 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() }