Fly changes

This commit is contained in:
Salers
2022-08-18 21:11:28 +02:00
parent 8fe45b623f
commit ff0e345e68
4 changed files with 49 additions and 31 deletions
@@ -17,7 +17,7 @@ public class MovementUtils {
private static Enchantment DEPTH;
public static float getJumpHeight(APlayer data) {
public static double getJumpHeight(APlayer data) {
float baseHeight = 0.42f;
baseHeight+= data.getPotionHandler().getEffectByType(PotionEffectType.JUMP).map(ef -> ef.getAmplifier() + 1)