mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
Fix test
This commit is contained in:
parent
84fd568c0c
commit
4107c768a3
@ -1081,6 +1081,7 @@ public class Player extends LivingEntity implements CommandSender {
|
||||
@Override
|
||||
protected void onAttributeChanged(@NotNull final AttributeInstance attributeInstance) {
|
||||
if (attributeInstance.getAttribute().isShared() &&
|
||||
playerConnection != null &&
|
||||
playerConnection.getConnectionState() == ConnectionState.PLAY) {
|
||||
playerConnection.sendPacket(getPropertiesPacket());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user