3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130

Dieser Commit ist enthalten in:
h31ix 2012-12-09 21:40:10 -05:00 committet von feildmaster
Ursprung 22b1100001
Commit 684ba31c39

Datei anzeigen

@ -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) {