aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt')
-rw-r--r--src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt b/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt
index c09998e..e86f137 100644
--- a/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt
+++ b/src/main/kotlin/com/ambientaddons/commands/AmbientCommand.kt
@@ -3,7 +3,7 @@ package com.ambientaddons.commands
import AmbientAddons
import com.ambientaddons.config.Config
import com.ambientaddons.utils.Extensions.withModPrefix
-import com.ambientaddons.utils.SkyBlock
+import com.ambientaddons.utils.SBLocation
import gg.essential.universal.UChat
import net.minecraft.command.CommandBase
import net.minecraft.command.ICommandSender
@@ -20,7 +20,7 @@ class AmbientCommand : CommandBase() {
override fun processCommand(sender: ICommandSender?, args: Array<String>) {
when (args.getOrNull(0)) {
null -> AmbientAddons.currentGui = Config.gui()
- "location" -> UChat.chat(SkyBlock.toString().withModPrefix())
+ "location" -> UChat.chat(SBLocation.toString().withModPrefix())
"buy" -> AutoBuyCommand.processCommand(args.drop(1))
else -> UChat.chat("§cUnknown argument!")
}