mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
ability to load console commands from mods
This commit is contained in:
@@ -7,7 +7,7 @@ import net.torvald.terrarum.ccR
|
||||
* Created by minjaesong on 2016-04-25.
|
||||
*/
|
||||
@ConsoleAlias("error")
|
||||
internal object EchoError : ConsoleCommand {
|
||||
object EchoError : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
val argsWoHeader = Array(args.size - 1) { args[it + 1] }
|
||||
argsWoHeader.forEach { execute(it) }
|
||||
|
||||
Reference in New Issue
Block a user