From 2b82451b96340592bb57fe84a7e206207c401255 Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 13 Jan 2020 21:10:05 +0000 Subject: [PATCH] Remove isInterface argument from MethodInsnNode constructors It's optional. --- .../bundler/transform/PlatformDetectionTransformer.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bundler/src/main/java/dev/openrs2/bundler/transform/PlatformDetectionTransformer.kt b/bundler/src/main/java/dev/openrs2/bundler/transform/PlatformDetectionTransformer.kt index ee2a4ac01c..8d5f4141d2 100644 --- a/bundler/src/main/java/dev/openrs2/bundler/transform/PlatformDetectionTransformer.kt +++ b/bundler/src/main/java/dev/openrs2/bundler/transform/PlatformDetectionTransformer.kt @@ -61,8 +61,7 @@ class PlatformDetectionTransformer : Transformer() { Opcodes.INVOKEVIRTUAL, STARTS_WITH.owner, STARTS_WITH.name, - STARTS_WITH.desc, - false + STARTS_WITH.desc ) ) list.add(JumpInsnNode(Opcodes.IFEQ, next)) @@ -74,8 +73,7 @@ class PlatformDetectionTransformer : Transformer() { Opcodes.INVOKEVIRTUAL, STARTS_WITH.owner, STARTS_WITH.name, - STARTS_WITH.desc, - false + STARTS_WITH.desc ) ) list.add(JumpInsnNode(Opcodes.IFNE, amd64)) @@ -87,8 +85,7 @@ class PlatformDetectionTransformer : Transformer() { Opcodes.INVOKEVIRTUAL, STARTS_WITH.owner, STARTS_WITH.name, - STARTS_WITH.desc, - false + STARTS_WITH.desc ) ) list.add(JumpInsnNode(Opcodes.IFEQ, i386))