From 00acb5ae367fceff1b12daa5f90c1f4cc77ad377 Mon Sep 17 00:00:00 2001 From: Roelymole Date: Tue, 7 Jan 2025 13:24:03 +0000 Subject: [PATCH] fix: reset fall distance whilst being a passenger of a LanderEntity --- .../mod/content/entity/orbital/lander/LanderEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/dev/galacticraft/mod/content/entity/orbital/lander/LanderEntity.java b/src/main/java/dev/galacticraft/mod/content/entity/orbital/lander/LanderEntity.java index 119aa4f95..847f0be49 100644 --- a/src/main/java/dev/galacticraft/mod/content/entity/orbital/lander/LanderEntity.java +++ b/src/main/java/dev/galacticraft/mod/content/entity/orbital/lander/LanderEntity.java @@ -225,6 +225,7 @@ public void push(Entity entity) { e *= 0.05F; this.push(-d, 0.0, -e); } + entity.resetFallDistance(); } } }