1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-26 00:27:08 +01:00

[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130

This commit is contained in:
h31ix 2012-12-09 21:40:10 -05:00 committed by feildmaster
parent 22b1100001
commit 684ba31c39

View file

@ -81,7 +81,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
}
public double getEyeHeight() {
return 1.0D;
return getHandle().getHeadHeight();
}
public double getEyeHeight(boolean ignoreSneaking) {