aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormartimavocado <39881008+martimavocado@users.noreply.github.com>2024-02-16 07:04:19 +0000
committerGitHub <noreply@github.com>2024-02-16 08:04:19 +0100
commit6207030868055a29c926ab97f5254b828e3e5dcd (patch)
tree2bf2495d52188c540107b69220afb7335f8208d7 /src
parent2cd4ca127a527cbdff8c26fa1ab9d55ba0007ede (diff)
downloadskyhanni-6207030868055a29c926ab97f5254b828e3e5dcd.tar.gz
skyhanni-6207030868055a29c926ab97f5254b828e3e5dcd.tar.bz2
skyhanni-6207030868055a29c926ab97f5254b828e3e5dcd.zip
Fixed /gfs tab complete. #1008
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/commands/tabcomplete/GetFromSacksTabComplete.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/commands/tabcomplete/GetFromSacksTabComplete.kt b/src/main/java/at/hannibal2/skyhanni/features/commands/tabcomplete/GetFromSacksTabComplete.kt
index e4b0071ad..1cbc853b2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/commands/tabcomplete/GetFromSacksTabComplete.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/commands/tabcomplete/GetFromSacksTabComplete.kt
@@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.data.jsonobjects.repo.SacksJson
import at.hannibal2.skyhanni.events.MessageSendToServerEvent
import at.hannibal2.skyhanni.events.RepositoryReloadEvent
+import at.hannibal2.skyhanni.utils.ChatUtils
import at.hannibal2.skyhanni.utils.LorenzUtils
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
@@ -37,7 +38,7 @@ object GetFromSacksTabComplete {
if (realName == rawName) return
if (realName !in sackList) return
event.isCanceled = true
- LorenzUtils.sendCommandToServer(message.replace(rawName, realName))
+ ChatUtils.sendMessageToServer(message.replace(rawName, realName))
}
fun isEnabled() = LorenzUtils.inSkyBlock && config.gfsSack