Use mapType() instead of map() in ClassForNameUtils for consistency

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 5 years ago
parent 4674dfb5ba
commit 4f17d67039
  1. 2
      asm/src/main/java/dev/openrs2/asm/ClassForNameUtils.kt

@ -37,7 +37,7 @@ object ClassForNameUtils {
fun remap(remapper: Remapper, method: MethodNode) { fun remap(remapper: Remapper, method: MethodNode) {
for (ldc in findLdcInsns(method)) { for (ldc in findLdcInsns(method)) {
val name = remapper.map(internalName(ldc)) val name = remapper.mapType(internalName(ldc))
if (name != null) { if (name != null) {
ldc.cst = name.toBinaryClassName() ldc.cst = name.toBinaryClassName()
} }

Loading…
Cancel
Save