[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130

By: h31ix <low_gravity@outlook.com>
This commit is contained in:
CraftBukkit/Spigot 2012-12-09 21:40:10 -05:00
parent f1ce3ae037
commit 1b990d9590

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