mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-27 08:50:35 +01:00
[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130
This commit is contained in:
parent
22b1100001
commit
684ba31c39
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getEyeHeight() {
|
public double getEyeHeight() {
|
||||||
return 1.0D;
|
return getHandle().getHeadHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getEyeHeight(boolean ignoreSneaking) {
|
public double getEyeHeight(boolean ignoreSneaking) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue