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:
@@ -13,7 +13,7 @@ internal object SetTime : ConsoleCommand {
|
||||
|
||||
Terrarum.ingame.world.time.setTime(timeToSet)
|
||||
|
||||
Echo.execute("Set time to ${Terrarum.ingame.world.time.elapsedSeconds} " +
|
||||
Echo("Set time to ${Terrarum.ingame.world.time.elapsedSeconds} " +
|
||||
"(${Terrarum.ingame.world.time.hours}h${formatMin(Terrarum.ingame.world.time.minutes)})")
|
||||
}
|
||||
else {
|
||||
@@ -26,6 +26,6 @@ internal object SetTime : ConsoleCommand {
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
Echo.execute("usage: settime <39201-in sec or 13h32-in hour>")
|
||||
Echo("usage: settime <39201-in sec or 13h32-in hour>")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user