mirror of https://github.com/GeyserMC/Geyser.git
Update core/src/main/java/org/geysermc/geyser/entity/type/DisplayBaseEntity.java
Removed a line break 78. Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
This commit is contained in:
parent
ae1a4c88e7
commit
cb746464bb
|
@ -67,15 +67,14 @@ public class DisplayBaseEntity extends Entity {
|
|||
// On JE: custom name does not override text display.
|
||||
}
|
||||
|
||||
public void setTranslation(EntityMetadata<Vector3f, ?> translationMeta){
|
||||
public void setTranslation(EntityMetadata<Vector3f, ?> translationMeta) {
|
||||
this.baseTranslation = translationMeta.getValue();
|
||||
if(this.vehicle == null){
|
||||
if (this.vehicle == null) {
|
||||
this.setRiderSeatPosition(this.baseTranslation);
|
||||
this.moveRelative(0, this.baseTranslation.getY(), 0, yaw, pitch, headYaw, false);
|
||||
} else {
|
||||
this.setRiderSeatPosition(this.baseTranslation.add(getMountOffset(this, this.vehicle)));
|
||||
}
|
||||
|
||||
}
|
||||
public void setScale(EntityMetadata<Vector3f, ?> translationMeta){
|
||||
|
||||
|
|
Loading…
Reference in New Issue