aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/mining
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-05-26 14:57:16 +0200
committerGitHub <noreply@github.com>2024-05-26 14:57:16 +0200
commit29657e24412baa7be9a1681593593368f92de26f (patch)
tree70d669a42b88fdc5df0fbad6313bcffdd1b9b5c0 /src/main/java/at/hannibal2/skyhanni/features/mining
parent0ddd9edc94bc0c872109acd0b845163b073ceb6a (diff)
downloadskyhanni-29657e24412baa7be9a1681593593368f92de26f.tar.gz
skyhanni-29657e24412baa7be9a1681593593368f92de26f.tar.bz2
skyhanni-29657e24412baa7be9a1681593593368f92de26f.zip
Backend: Use HypixelCommands (#1769)
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/mining')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt
index 546c5a7d8..3a9f26cf0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt
@@ -17,12 +17,12 @@ import at.hannibal2.skyhanni.events.LorenzToolTipEvent
import at.hannibal2.skyhanni.events.LorenzWarpEvent
import at.hannibal2.skyhanni.events.RepositoryReloadEvent
import at.hannibal2.skyhanni.test.command.ErrorManager
-import at.hannibal2.skyhanni.utils.ChatUtils
import at.hannibal2.skyhanni.utils.CollectionUtils.filterNotNullKeys
import at.hannibal2.skyhanni.utils.ColorUtils.getFirstColorCode
import at.hannibal2.skyhanni.utils.ColorUtils.toChromaColor
import at.hannibal2.skyhanni.utils.ConditionalUtils.onToggle
import at.hannibal2.skyhanni.utils.DelayedRun
+import at.hannibal2.skyhanni.utils.HypixelCommands
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
import at.hannibal2.skyhanni.utils.ItemUtils.itemName
import at.hannibal2.skyhanni.utils.LocationUtils
@@ -421,7 +421,7 @@ class TunnelsMaps {
private fun campfireKey(event: LorenzKeyPressEvent) {
if (event.keyCode != config.campfireKey) return
if (config.travelScroll) {
- ChatUtils.sendMessageToServer("/warp basecamp")
+ HypixelCommands.warp("basecamp")
} else {
campfireOverride()
}