mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
Echo().execute(message) is now just Echo(message)
Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
This commit is contained in:
@@ -10,17 +10,17 @@ internal object Help : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
|
||||
if (args.size == 1) {
|
||||
for (i in 1..6) Echo.execute(Lang["HELP_OTF_MAIN_$i"])
|
||||
for (i in 1..6) Echo(Lang["HELP_OTF_MAIN_$i"])
|
||||
}
|
||||
else if (args[1].toLowerCase() == "slow") {
|
||||
for (i in 1..4) Echo.execute(Lang["HELP_OTF_SLOW_$i"])
|
||||
for (i in 1..4) Echo(Lang["HELP_OTF_SLOW_$i"])
|
||||
}
|
||||
else {
|
||||
for (i in 1..6) Echo.execute(Lang["HELP_OTF_MAIN_$i"])
|
||||
for (i in 1..6) Echo(Lang["HELP_OTF_MAIN_$i"])
|
||||
}
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
Echo.execute("Prints some utility functions assigned to function row of the keyboard.")
|
||||
Echo("Prints some utility functions assigned to function row of the keyboard.")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user