From d2041dd7144c95476dfc2c1d085c289f30135ee7 Mon Sep 17 00:00:00 2001 From: ChampionAsh5357 Date: Sat, 2 Nov 2024 17:34:34 -0400 Subject: [PATCH] fix(patch): Remove unnecessary lava patch --- .../net/minecraft/world/entity/LivingEntity.java.patch | 9 --------- 1 file changed, 9 deletions(-) diff --git a/patches/net/minecraft/world/entity/LivingEntity.java.patch b/patches/net/minecraft/world/entity/LivingEntity.java.patch index ebb7a0cbf9..d20fca6ed0 100644 --- a/patches/net/minecraft/world/entity/LivingEntity.java.patch +++ b/patches/net/minecraft/world/entity/LivingEntity.java.patch @@ -512,15 +512,6 @@ } protected float getWaterSlowDown() { -@@ -2184,7 +_,7 @@ - public void travel(Vec3 p_21280_) { - if (this.isControlledByLocalInstance()) { - FluidState fluidstate = this.level().getFluidState(this.blockPosition()); -- if ((this.isInWater() || this.isInLava()) && this.isAffectedByFluids() && !this.canStandOnFluid(fluidstate)) { -+ if ((this.isInWater() || (this.isInFluidType(fluidstate) && fluidstate.getFluidType() != net.neoforged.neoforge.common.NeoForgeMod.LAVA_TYPE.value())) && this.isAffectedByFluids() && !this.canStandOnFluid(fluidstate)) { - this.travelInFluid(p_21280_); - } else if (this.isFallFlying()) { - this.travelFallFlying(); @@ -2196,7 +_,7 @@ private void travelInAir(Vec3 p_362457_) {