Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
Set strider entity offset properly if not a player entity
Dieser Commit ist enthalten in:
Ursprung
c17f21eedc
Commit
699ae0b88e
@ -141,7 +141,7 @@ public class JavaEntitySetPassengersTranslator extends PacketTranslator<ServerEn
|
|||||||
yOffset = 1.3f;
|
yOffset = 1.3f;
|
||||||
break;
|
break;
|
||||||
case STRIDER:
|
case STRIDER:
|
||||||
yOffset = 2.8200102f;
|
yOffset = passenger.getEntityType() == EntityType.PLAYER ? 2.8200102f : 1.6f;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Vector3f offset = Vector3f.from(0f, yOffset, 0f);
|
Vector3f offset = Vector3f.from(0f, yOffset, 0f);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren