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:
Ursprung
22b1100001
Commit
684ba31c39
@ -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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren