mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
Echo().execute(message) is now just Echo(message)
Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
This commit is contained in:
@@ -11,10 +11,10 @@ internal object ToggleNoClip : ConsoleCommand {
|
||||
val status = Terrarum.ingame.player.isNoClip()
|
||||
|
||||
Terrarum.ingame.player.setNoClip(!status)
|
||||
Echo.execute("Set no-clip status to " + (!status).toString())
|
||||
Echo("Set no-clip status to " + (!status).toString())
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
Echo.execute("toggle no-clip status of player")
|
||||
Echo("toggle no-clip status of player")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user