From b337698106b7b455e28b39cfd9a9ff72586cba8d Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 26 Sep 2020 19:02:32 +0100 Subject: [PATCH] Fix MacResizeTransformer when it is used from the deobfuscator The bundler does not prefix class names with the library name, the deobfuscator does. Signed-off-by: Graham --- .../java/dev/openrs2/bundler/transform/MacResizeTransformer.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/bundler/src/main/java/dev/openrs2/bundler/transform/MacResizeTransformer.kt b/bundler/src/main/java/dev/openrs2/bundler/transform/MacResizeTransformer.kt index 963d32f7..c9806e5c 100644 --- a/bundler/src/main/java/dev/openrs2/bundler/transform/MacResizeTransformer.kt +++ b/bundler/src/main/java/dev/openrs2/bundler/transform/MacResizeTransformer.kt @@ -27,6 +27,7 @@ public class MacResizeTransformer : Transformer() { val getstatic = match[0] as FieldInsnNode if ( getstatic.owner == "loader" || + getstatic.owner == "loader!loader" || getstatic.owner == clazz.name || getstatic.desc != "Ljava/lang/String;" ) {