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
1 changed files with 1 additions and 0 deletions

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);
}
}