diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt | 2 |
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() } } } |