mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
dump (another useless message)
This commit is contained in:
@@ -10,9 +10,9 @@ import net.torvald.terrarum.modulebasegame.Ingame
|
||||
*/
|
||||
internal object ToggleNoClip : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
val status = (Terrarum.ingame!! as Ingame).player.isNoClip()
|
||||
val status = (Terrarum.ingame!! as Ingame).playableActor.isNoClip
|
||||
|
||||
(Terrarum.ingame!! as Ingame).player.setNoClip(!status)
|
||||
(Terrarum.ingame!! as Ingame).playableActor.isNoClip = !status
|
||||
Echo("Set no-clip status to " + (!status).toString())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user