From 3edb43b1323c72d1d8c5cb702d77a5f075870c11 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 24 Sep 2024 15:00:42 +0100 Subject: [PATCH] Fixed non-pegasi not able to jump out of cloud blocks --- .../com/minelittlepony/unicopia/block/cloud/CloudBlock.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/block/cloud/CloudBlock.java b/src/main/java/com/minelittlepony/unicopia/block/cloud/CloudBlock.java index f7f3efdb..6216e09f 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/cloud/CloudBlock.java +++ b/src/main/java/com/minelittlepony/unicopia/block/cloud/CloudBlock.java @@ -119,10 +119,9 @@ public class CloudBlock extends Block implements CloudLike { entity.addVelocity(0, 0.07, 0); entity.setOnGround(true); } - entity.setVelocity(entity.getVelocity().multiply(0.9F, 1, 0.9F)); - } else { - entity.setVelocity(entity.getVelocity().multiply(0.9F)); } + + entity.setVelocity(entity.getVelocity().multiply(0.9F, 1, 0.9F)); } @Override