get player head texture wip

This commit is contained in:
minjaesong
2021-12-20 22:56:16 +09:00
parent 07345e3128
commit 099071bdd0
18 changed files with 431 additions and 40 deletions

View File

@@ -40,10 +40,7 @@ internal object CommandInterpreter {
var commandObj: ConsoleCommand? = null
try {
if (single_command.name.toLowerCase().startsWith("qqq")) {
commandObj = CommandDict["QuitApp"]
}
else if (commandsNoAuth.contains(single_command.name.toLowerCase())) {
if (commandsNoAuth.contains(single_command.name.toLowerCase())) {
commandObj = CommandDict[single_command.name.toLowerCase()]
}
else {

View File

@@ -0,0 +1,15 @@
package net.torvald.terrarum.console
import net.torvald.terrarum.Terrarum
/**
* Created by minjaesong on 2021-12-20.
*/
object Pause : ConsoleCommand {
override fun execute(args: Array<String>) {
Terrarum.ingame?.pause()
}
override fun printUsage() {
}
}

View File

@@ -0,0 +1,15 @@
package net.torvald.terrarum.console
import net.torvald.terrarum.Terrarum
/**
* Created by minjaesong on 2021-12-20.
*/
object Unpause : ConsoleCommand {
override fun execute(args: Array<String>) {
Terrarum.ingame?.resume()
}
override fun printUsage() {
}
}