mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
console command dictionary is now automatically filled using reflection
This commit is contained in:
@@ -7,6 +7,7 @@ import net.torvald.terrarum.ui.ConsoleWindow
|
||||
/**
|
||||
* Created by minjaesong on 2016-04-25.
|
||||
*/
|
||||
@ConsoleAlias("error")
|
||||
internal object EchoError : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
val argsWoHeader = Array(args.size - 1) { args[it + 1] }
|
||||
|
||||
Reference in New Issue
Block a user