mirror of
https://github.com/funkemunky/KauriV3.git
synced 2026-07-01 02:08:27 +00:00
Fixed jump boost false positive on Fly C
This commit is contained in:
@@ -20,7 +20,7 @@ public class MovementUtils {
|
||||
public static double getJumpHeight(APlayer data) {
|
||||
float baseHeight = 0.42f;
|
||||
|
||||
baseHeight+= data.getPotionHandler().getEffectByType(PotionEffectType.JUMP).map(ef -> ef.getAmplifier() + 1)
|
||||
baseHeight+= data.getInfo().groundJumpBoost.map(ef -> ef.getAmplifier() + 1)
|
||||
.orElse(0) * 0.1f;
|
||||
|
||||
return baseHeight;
|
||||
|
||||
Reference in New Issue
Block a user