aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/caelo/CaeloCommand.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-03-31 22:08:44 +0200
committerLinnea Gräf <nea@nea.moe>2024-03-31 22:08:44 +0200
commit8d32601d891cefe11e3e261343e84aab1a40c341 (patch)
tree4ec227b83fe4538cab72abe1648691e2cc48d149 /src/main/java/moe/nea/caelo/CaeloCommand.kt
parent0414b87e02e51b51cf9ef0c165e5ed61e5193160 (diff)
downloadveloxcaelo-8d32601d891cefe11e3e261343e84aab1a40c341.tar.gz
veloxcaelo-8d32601d891cefe11e3e261343e84aab1a40c341.tar.bz2
veloxcaelo-8d32601d891cefe11e3e261343e84aab1a40c341.zip
Add config ui
Diffstat (limited to 'src/main/java/moe/nea/caelo/CaeloCommand.kt')
-rw-r--r--src/main/java/moe/nea/caelo/CaeloCommand.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/moe/nea/caelo/CaeloCommand.kt b/src/main/java/moe/nea/caelo/CaeloCommand.kt
index b5a1688..e355540 100644
--- a/src/main/java/moe/nea/caelo/CaeloCommand.kt
+++ b/src/main/java/moe/nea/caelo/CaeloCommand.kt
@@ -1,5 +1,6 @@
package moe.nea.caelo
+import moe.nea.caelo.config.CConfig
import moe.nea.caelo.util.MC
import net.minecraft.command.CommandBase
import net.minecraft.command.ICommandSender
@@ -41,7 +42,7 @@ object CaeloCommand : CommandBase() {
override fun processCommand(iCommandSender: ICommandSender?, args: Array<String>) {
if (args.isEmpty()) {
- MC.display("§cMissing subcommand. Check the tab completions.")
+ Caelo.toOpen = CConfig.managed.getGui()
return
}
val subCommand = subcommands[args[0]]