fix player health update animation (#2183)

This commit is contained in:
bea4dev 2024-06-15 21:57:13 +09:00 committed by GitHub
parent 6766e3c7ed
commit 461d0aa746
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1041,8 +1041,8 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
@Override
public void setHealth(float health) {
super.setHealth(health);
sendPacket(new UpdateHealthPacket(health, food, foodSaturation));
super.setHealth(health);
}
/**