aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-01 09:42:37 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-01 09:42:37 +0100
commit157d61a509e994e88ce59f2b14fed55948482458 (patch)
tree6fb9098d5bb9acb7ccf3d1bd1af87f910ae1d0c0 /src/main
parent0fcdb608d5e696a0d55598d8579916ad9decfbff (diff)
downloadskyhanni-157d61a509e994e88ce59f2b14fed55948482458.tar.gz
skyhanni-157d61a509e994e88ce59f2b14fed55948482458.tar.bz2
skyhanni-157d61a509e994e88ce59f2b14fed55948482458.zip
Fixed diana warp key not working.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt
index befe55cf9..32fa93e6d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt
@@ -24,7 +24,7 @@ class BurrowWarpHelper {
if (event.keyCode != config.keyBindWarp) return
currentWarp?.let {
- if (lastWarpTime.passedSince() < 5.seconds) {
+ if (lastWarpTime.passedSince() > 5.seconds) {
lastWarpTime = SimpleTimeMark.now()
LorenzUtils.sendCommandToServer("warp " + currentWarp?.name)
lastWarp = currentWarp
@@ -96,4 +96,4 @@ class BurrowWarpHelper {
fun distance(other: LorenzVec): Double = other.distance(location) + extraBlocks
}
-} \ No newline at end of file
+}