diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/MC.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/util/MC.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/MC.kt b/src/main/kotlin/moe/nea/firmament/util/MC.kt index 347a15e..f3fc754 100644 --- a/src/main/kotlin/moe/nea/firmament/util/MC.kt +++ b/src/main/kotlin/moe/nea/firmament/util/MC.kt @@ -51,6 +51,10 @@ object MC { ) } + fun sendServerChat(text: String) { + player?.networkHandler?.sendChatMessage(text) + } + fun sendCommand(command: String) { player?.networkHandler?.sendCommand(command) } |