diff options
author | martimavocado <39881008+martimavocado@users.noreply.github.com> | 2024-02-16 07:04:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 08:04:19 +0100 |
commit | 6207030868055a29c926ab97f5254b828e3e5dcd (patch) | |
tree | 2bf2495d52188c540107b69220afb7335f8208d7 /src/main | |
parent | 2cd4ca127a527cbdff8c26fa1ab9d55ba0007ede (diff) | |
download | skyhanni-6207030868055a29c926ab97f5254b828e3e5dcd.tar.gz skyhanni-6207030868055a29c926ab97f5254b828e3e5dcd.tar.bz2 skyhanni-6207030868055a29c926ab97f5254b828e3e5dcd.zip |
Fixed /gfs tab complete. #1008
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/commands/tabcomplete/GetFromSacksTabComplete.kt | 3 |
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 |