diff --git a/all/src/main/java/dev/openrs2/Command.kt b/all/src/main/java/dev/openrs2/Command.kt index 7670b8a1..8ec02531 100644 --- a/all/src/main/java/dev/openrs2/Command.kt +++ b/all/src/main/java/dev/openrs2/Command.kt @@ -7,7 +7,7 @@ import dev.openrs2.compress.cli.CompressCommand import dev.openrs2.crc32.Crc32Command import dev.openrs2.decompiler.DecompileCommand import dev.openrs2.deob.DeobfuscateCommand -import dev.openrs2.deob.ast.AstDeobfuscateCommand +import dev.openrs2.deob.ast.DeobfuscateAstCommand import dev.openrs2.game.GameCommand fun main(args: Array) = Command().subcommands( @@ -16,7 +16,7 @@ fun main(args: Array) = Command().subcommands( Crc32Command(), DecompileCommand(), DeobfuscateCommand(), - AstDeobfuscateCommand(), + DeobfuscateAstCommand(), GameCommand() ).main(args) diff --git a/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt b/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt index 91119f0a..abacdc76 100644 --- a/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt +++ b/deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt @@ -3,9 +3,9 @@ package dev.openrs2.deob.ast import com.github.ajalt.clikt.core.CliktCommand import java.nio.file.Paths -fun main(args: Array) = AstDeobfuscateCommand().main(args) +fun main(args: Array) = DeobfuscateAstCommand().main(args) -class AstDeobfuscateCommand : CliktCommand(name = "deob-ast") { +class DeobfuscateAstCommand : CliktCommand(name = "deob-ast") { override fun run() { val deobfuscator = AstDeobfuscator( listOf(