diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt | 4 |
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 +} |