mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
UI: sub-UIs work?
This commit is contained in:
@@ -14,7 +14,7 @@ internal object EchoError : ConsoleCommand {
|
||||
}
|
||||
|
||||
fun execute(single_line: String) {
|
||||
(Terrarum.ingame!!.consoleHandler.UI as ConsoleWindow).sendMessage("$ccR$single_line")
|
||||
(Terrarum.ingame!!.consoleHandler as ConsoleWindow).sendMessage("$ccR$single_line")
|
||||
}
|
||||
|
||||
operator fun invoke(args: Array<String>) = execute(args)
|
||||
|
||||
Reference in New Issue
Block a user