mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130
This commit is contained in:
1 parent
22b1100001
commit
684ba31c39
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user