Make classes generated by StaticScramblingTransformer final

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 5 years ago
parent 96cdcad2af
commit 01b83b666e
  1. 2
      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()

Loading…
Cancel
Save