From 1d368b8e1d59ddff00329decdfef40bc8e4ee18a Mon Sep 17 00:00:00 2001 From: MrScautHD Date: Wed, 9 Mar 2022 17:31:23 +0100 Subject: [PATCH] Fix Lander do not BOOOM --- .../java/net/mrscauthd/beyond_earth/entity/RoverEntity.java | 3 +++ .../java/net/mrscauthd/beyond_earth/entity/VehicleEntity.java | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/mrscauthd/beyond_earth/entity/RoverEntity.java b/src/main/java/net/mrscauthd/beyond_earth/entity/RoverEntity.java index 84467dc6b..26a41cd5d 100644 --- a/src/main/java/net/mrscauthd/beyond_earth/entity/RoverEntity.java +++ b/src/main/java/net/mrscauthd/beyond_earth/entity/RoverEntity.java @@ -301,6 +301,9 @@ public boolean getforward() { public void tick() { super.tick(); + /** Reset Fall Damage for Passengers too */ + this.resetFallDistance(); + //Fuel Load up if (Methods.tagCheck(FluidUtil2.findBucketFluid(this.inventory.getStackInSlot(0).getItem()), ModInit.FLUID_VEHICLE_FUEL_TAG)) { diff --git a/src/main/java/net/mrscauthd/beyond_earth/entity/VehicleEntity.java b/src/main/java/net/mrscauthd/beyond_earth/entity/VehicleEntity.java index 5877b21c4..9a1406eb3 100644 --- a/src/main/java/net/mrscauthd/beyond_earth/entity/VehicleEntity.java +++ b/src/main/java/net/mrscauthd/beyond_earth/entity/VehicleEntity.java @@ -69,9 +69,6 @@ public InteractionResult interact(Player p_19978_, InteractionHand p_19979_) { public void tick() { super.tick(); - /** Reset Fall Damage for Passengers too */ - this.resetFallDistance(); - /**ROT Anim*/ this.tickLerp(); this.rotAnim();