Fix: Nametags not showing up after respawn (#4445)

This commit is contained in:
byquanton 2024-02-15 14:57:51 +01:00 committed by GitHub
parent 6a51d8298f
commit e97258f625
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -377,6 +377,7 @@ public class PlayerEntity extends LivingEntity implements GeyserPlayerEntity {
if (needsUpdate) {
dirtyMetadata.put(EntityDataTypes.NAME, this.nametag);
dirtyMetadata.put(EntityDataTypes.NAMETAG_ALWAYS_SHOW, (byte) 1);
}
}