forked from GeyserMC/Geyser
Fix Wolf anger display (#1021)
This commit is contained in:
parent
fffac8a552
commit
64727db67b
1 changed files with 6 additions and 1 deletions
|
@ -59,7 +59,12 @@ public class WolfEntity extends TameableEntity {
|
|||
if (entityMetadata.getId() == 19 && !metadata.getFlags().getFlag(EntityFlag.ANGRY)) {
|
||||
metadata.put(EntityData.COLOR, (byte) (int) entityMetadata.getValue());
|
||||
}
|
||||
//TODO: Anger time int?
|
||||
|
||||
// Wolf anger (1.16+)
|
||||
if (entityMetadata.getId() == 20) {
|
||||
metadata.getFlags().setFlag(EntityFlag.ANGRY, (int) entityMetadata.getValue() != 0);
|
||||
}
|
||||
|
||||
super.updateBedrockMetadata(entityMetadata, session);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue