mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
UI testing env and working text buttons
Former-commit-id: b8fd27c7f71f9bc8da259ae132badcbc9ce117ac
This commit is contained in:
@@ -14,7 +14,7 @@ import java.io.IOException
|
||||
internal object GsonTest : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
if (args.size == 2) {
|
||||
val avelem = Gson().toJsonTree(Terrarum.ingame.player)
|
||||
val avelem = Gson().toJsonTree(Terrarum.ingame!!.player)
|
||||
|
||||
val jsonString = avelem.toString()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user