aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-23 17:31:10 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-23 17:31:10 +0200
commit3736fb833f7609b833d960d50f037208b2dcee6e (patch)
tree5a0febc0b8b03bbed28a170d5381e055571e7840 /src/main/java/at/hannibal2/skyhanni/data
parente49183a248f1a007b924d76909274081f2d0fce2 (diff)
downloadskyhanni-3736fb833f7609b833d960d50f037208b2dcee6e.tar.gz
skyhanni-3736fb833f7609b833d960d50f037208b2dcee6e.tar.bz2
skyhanni-3736fb833f7609b833d960d50f037208b2dcee6e.zip
blaze slayer features
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt b/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt
index 1e07a6eaa..26e08356b 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt
@@ -35,7 +35,7 @@ class EntityMovementData {
val distance = newLocation.distance(oldLocation)
if (distance > 0.01) {
entityLocation[entity] = newLocation
- EntityMoveEvent(entity).postAndCatch()
+ EntityMoveEvent(entity, oldLocation, newLocation).postAndCatch()
}
}
}