From 0a870c975278ff07d4320d3f977d207dfe907ca1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 10 Feb 2018 12:16:43 +1100 Subject: [PATCH] SPIGOT-3807: Improve getEyeHeight By: md_5 --- paper-api/src/main/java/org/bukkit/entity/LivingEntity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java index 5a30fa931..8b2fb74c7 100644 --- a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/paper-api/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.