diff --git a/asm/src/main/java/dev/openrs2/asm/ClassNodeRemapper.kt b/asm/src/main/java/dev/openrs2/asm/ClassNodeRemapper.kt index 3ab9701f3b..8247dca4c5 100644 --- a/asm/src/main/java/dev/openrs2/asm/ClassNodeRemapper.kt +++ b/asm/src/main/java/dev/openrs2/asm/ClassNodeRemapper.kt @@ -16,10 +16,7 @@ fun ClassNode.remap(remapper: Remapper) { name = remapper.mapType(originalName) signature = remapper.mapSignature(signature, false) superName = remapper.mapType(superName) - - if (interfaces != null) { - interfaces = interfaces.map(remapper::mapType) - } + interfaces = interfaces?.map(remapper::mapType) for (field in fields) { field.name = remapper.mapFieldName(originalName, field.name, field.desc)