aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/caelo/CaeloCommand.kt
diff options
context:
space:
mode:
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]]