summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-02-10 12:16:43 +1100
committermd_5 <git@md-5.net>2018-02-10 12:16:43 +1100
commit70afb21e926dd850193ae4788ca379ab3d52fd75 (patch)
tree37f9de718f0a9e4299972af2abfff03d56e9667c
parentd9006fb04c37444226a867b64c14cb4cfe830610 (diff)
downloadbukkit-70afb21e926dd850193ae4788ca379ab3d52fd75.tar
bukkit-70afb21e926dd850193ae4788ca379ab3d52fd75.tar.gz
bukkit-70afb21e926dd850193ae4788ca379ab3d52fd75.tar.lz
bukkit-70afb21e926dd850193ae4788ca379ab3d52fd75.tar.xz
bukkit-70afb21e926dd850193ae4788ca379ab3d52fd75.zip
SPIGOT-3807: Improve getEyeHeight
-rw-r--r--src/main/java/org/bukkit/entity/LivingEntity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java
index 5a30fa93..8b2fb74c 100644
--- a/src/main/java/org/bukkit/entity/LivingEntity.java
+++ b/src/main/java/org/bukkit/entity/LivingEntity.java
@@ -29,11 +29,11 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
/**
* Gets the height of the living entity's eyes above its Location.
*
- * @param ignoreSneaking if set to true, the effects of sneaking will be
- * ignored
+ * @param ignorePose if set to true, the effects of pose changes, eg
+ * sneaking and gliding will be ignored
* @return height of the living entity's eyes above its location
*/
- public double getEyeHeight(boolean ignoreSneaking);
+ public double getEyeHeight(boolean ignorePose);
/**
* Get a Location detailing the current eye position of the living entity.