mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-14 11:21:23 +01:00
fix player health update animation (#2183)
This commit is contained in:
parent
6766e3c7ed
commit
461d0aa746
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user