Merge branch 'master' of https://github.com/GeyserMC/Geyser into dev

This commit is contained in:
Camotoy 2022-12-22 11:49:48 -05:00
commit bd73f199d5
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -50,6 +50,13 @@ public class CatEntity extends TameableEntity {
super(session, entityId, geyserId, uuid, definition, position, motion, yaw, pitch, headYaw);
}
@Override
protected void initializeMetadata() {
super.initializeMetadata();
// Default value (minecraft:black).
dirtyMetadata.put(EntityData.VARIANT, 1);
}
@Override
public void updateRotation(float yaw, float pitch, boolean isOnGround) {
moveRelative(0, 0, 0, yaw, pitch, yaw, isOnGround);