aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-10-03 14:14:39 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-10-03 14:14:39 +0200
commit08f15c1fc11e8c3142c859fdff0c3e80afcab0fe (patch)
treea5e5522618d1dfd6bdf9b63eef63fd21c7dcb3c3 /src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt
parent075b7c517bb0a4f0c06156d351baba37b9317957 (diff)
downloadskyhanni-08f15c1fc11e8c3142c859fdff0c3e80afcab0fe.tar.gz
skyhanni-08f15c1fc11e8c3142c859fdff0c3e80afcab0fe.tar.bz2
skyhanni-08f15c1fc11e8c3142c859fdff0c3e80afcab0fe.zip
Warps to the nearest warp point on the hub, if closer to the next burrow.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt
index 405938195..30b440d87 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/EntityMoveEvent.kt
@@ -3,4 +3,4 @@ package at.hannibal2.skyhanni.events
import at.hannibal2.skyhanni.utils.LorenzVec
import net.minecraft.entity.Entity
-class EntityMoveEvent(val entity: Entity, val oldLocation: LorenzVec, val newLocation: LorenzVec) : LorenzEvent() \ No newline at end of file
+class EntityMoveEvent(val entity: Entity, val oldLocation: LorenzVec, val newLocation: LorenzVec, val distance: Double) : LorenzEvent() \ No newline at end of file