Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
Ursprung
10c2e51da4
Commit
1be2a1ccac
@ -239,7 +239,10 @@ public class PlayerEntity extends LivingEntity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Vector3i setBedPosition(EntityMetadata<Optional<Vector3i>, ?> entityMetadata) {
|
public Vector3i setBedPosition(EntityMetadata<Optional<Vector3i>, ?> entityMetadata) {
|
||||||
return bedPosition = super.setBedPosition(entityMetadata);
|
bedPosition = super.setBedPosition(entityMetadata);
|
||||||
|
// Fixes https://github.com/GeyserMC/Geyser/issues/3595 on vanilla 1.19.3 servers - did not happen on Paper
|
||||||
|
entityMetadata.getValue().ifPresent(pos -> this.setPosition(pos.toFloat()));
|
||||||
|
return bedPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAbsorptionHearts(FloatEntityMetadata entityMetadata) {
|
public void setAbsorptionHearts(FloatEntityMetadata entityMetadata) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren