aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-02-20 19:14:13 +0100
committerGitHub <noreply@github.com>2024-02-20 19:14:13 +0100
commit788fa74d1743c475576e49eaf8edeeedddf1824f (patch)
treec0567e53326a40a77566581e76c7de2b0c2ef041 /src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt
parent92a4d14deaa7a4bc9cfb5426f9b493ee78a14f56 (diff)
downloadskyhanni-788fa74d1743c475576e49eaf8edeeedddf1824f.tar.gz
skyhanni-788fa74d1743c475576e49eaf8edeeedddf1824f.tar.bz2
skyhanni-788fa74d1743c475576e49eaf8edeeedddf1824f.zip
Deprecate LorenzUtils.sendCommandToServer. #1025
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt
index f5b8904a6..98a8a47b4 100644
--- a/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt
@@ -78,7 +78,7 @@ object GetFromSackAPI {
if (!LorenzUtils.inSkyBlock) return
if (queue.isNotEmpty() && lastTimeOfCommand.passedSince() >= minimumDelay) {
val item = queue.poll()
- LorenzUtils.sendCommandToServer("gfs ${item.internalName.asString()} ${item.amount}")
+ ChatUtils.sendCommandToServer("gfs ${item.internalName.asString()} ${item.amount}")
lastTimeOfCommand = ChatUtils.getTimeWhenNewlyQueuedMessageGetsExecuted()
}
}