diff --git a/patches/server/Friction-API.patch b/patches/server/Friction-API.patch index bbc02f37fc..a332e0a235 100644 --- a/patches/server/Friction-API.patch +++ b/patches/server/Friction-API.patch @@ -79,6 +79,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 f1 = this.level().getBlockState(this.getBlockPosBelowThatAffectsMyMovement()).getBlock().getFriction() * 0.98F; } +- this.setDeltaMovement(this.getDeltaMovement().multiply((double) f1, 0.98D, (double) f1)); ++ this.setDeltaMovement(this.getDeltaMovement().multiply((double) f1, frictionState == net.kyori.adventure.util.TriState.FALSE ? 1D : 0.98D, (double) f1)); // Paper - Friction API + if (this.onGround()) { + Vec3 vec3d1 = this.getDeltaMovement(); + @@ -0,0 +0,0 @@ public class ItemEntity extends Entity implements TraceableEntity { @Override