mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
Echo().execute(message) is now just Echo(message)
Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
This commit is contained in:
@@ -27,10 +27,10 @@ internal object GsonTest : ConsoleCommand {
|
||||
bufferedWriter.write(jsonString)
|
||||
bufferedWriter.close()
|
||||
|
||||
Echo.execute("GsonTest: exported to " + args[1] + ".json")
|
||||
Echo("GsonTest: exported to " + args[1] + ".json")
|
||||
}
|
||||
catch (e: IOException) {
|
||||
Echo.execute("GsonTest: IOException raised.")
|
||||
Echo("GsonTest: IOException raised.")
|
||||
e.printStackTrace()
|
||||
}
|
||||
|
||||
@@ -42,6 +42,6 @@ internal object GsonTest : ConsoleCommand {
|
||||
|
||||
override fun printUsage() {
|
||||
|
||||
Echo.execute("Usage: gsontest filename-without-extension")
|
||||
Echo("Usage: gsontest filename-without-extension")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user