From 01b83b666e153950afab0e96573a6c88f7164858 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 5 Apr 2020 11:20:58 +0100 Subject: [PATCH] Make classes generated by StaticScramblingTransformer final Signed-off-by: Graham --- .../dev/openrs2/deob/transform/StaticScramblingTransformer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt b/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt index 714b51a4..bbe332eb 100644 --- a/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt +++ b/deob/src/main/java/dev/openrs2/deob/transform/StaticScramblingTransformer.kt @@ -55,7 +55,7 @@ class StaticScramblingTransformer : Transformer() { clazz = ClassNode() clazz.version = Opcodes.V1_1 - clazz.access = Opcodes.ACC_PUBLIC or Opcodes.ACC_SUPER + clazz.access = Opcodes.ACC_PUBLIC or Opcodes.ACC_SUPER or Opcodes.ACC_FINAL clazz.name = "Static${staticClasses.size + 1}" clazz.superName = "java/lang/Object" clazz.interfaces = mutableListOf()