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 1aa479e3ff
commit 3edb43b132
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -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