Fix cat scale :upside_down:

This commit is contained in:
Camotoy 2021-06-16 10:26:28 -04:00
parent 139167d090
commit aba279fd1a
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class CatEntity extends TameableEntity {
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
super.updateBedrockMetadata(entityMetadata, session);
if (entityMetadata.getId() == 16) {
metadata.put(EntityData.SCALE, (boolean) entityMetadata.getValue() ? 0.8f : 0.4f);
metadata.put(EntityData.SCALE, (boolean) entityMetadata.getValue() ? 0.4f : 0.8f);
} else if (entityMetadata.getId() == 17) {
// Update collar color if tamed
if (metadata.getFlags().getFlag(EntityFlag.TAMED)) {