mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-03 09:49:10 +01:00
Fix: Nametags not showing up after respawn (#4445)
This commit is contained in:
parent
6a51d8298f
commit
e97258f625
1 changed files with 1 additions and 0 deletions
|
@ -377,6 +377,7 @@ public class PlayerEntity extends LivingEntity implements GeyserPlayerEntity {
|
||||||
|
|
||||||
if (needsUpdate) {
|
if (needsUpdate) {
|
||||||
dirtyMetadata.put(EntityDataTypes.NAME, this.nametag);
|
dirtyMetadata.put(EntityDataTypes.NAME, this.nametag);
|
||||||
|
dirtyMetadata.put(EntityDataTypes.NAMETAG_ALWAYS_SHOW, (byte) 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue