Fixed non-pegasi not able to jump out of cloud blocks

This commit is contained in:
Sollace 2024-09-24 15:00:42 +01:00
parent f8018cb6fc
commit 4cd2809f40
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -105,10 +105,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