diff options
author | h31ix <low_gravity@outlook.com> | 2012-12-09 21:40:10 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-12-10 01:41:00 -0600 |
commit | 684ba31c39560bc43d475332cda2a183e0ffa63a (patch) | |
tree | e158f9a835fee1e0881728cc763b3a0d58c49c1a | |
parent | 22b11000017a245a944c8f4d367977772b27bac1 (diff) | |
download | craftbukkit-684ba31c39560bc43d475332cda2a183e0ffa63a.tar craftbukkit-684ba31c39560bc43d475332cda2a183e0ffa63a.tar.gz craftbukkit-684ba31c39560bc43d475332cda2a183e0ffa63a.tar.lz craftbukkit-684ba31c39560bc43d475332cda2a183e0ffa63a.tar.xz craftbukkit-684ba31c39560bc43d475332cda2a183e0ffa63a.zip |
[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java index c49f0aa4..12c660ed 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java @@ -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) { |