[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) {