mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130
By: h31ix <low_gravity@outlook.com>
This commit is contained in:
parent
f1ce3ae037
commit
1b990d9590
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user