mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-23 15:00:37 +01:00
parent
10c2e51da4
commit
1be2a1ccac
1 changed files with 4 additions and 1 deletions
|
@ -239,7 +239,10 @@ public class PlayerEntity extends LivingEntity {
|
|||
|
||||
@Override
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue