From e97258f6253291d4d7a03c13fc6a39c462545e8d Mon Sep 17 00:00:00 2001 From: byquanton <32410361+byquanton@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:57:51 +0100 Subject: [PATCH] Fix: Nametags not showing up after respawn (#4445) --- .../org/geysermc/geyser/entity/type/player/PlayerEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/geysermc/geyser/entity/type/player/PlayerEntity.java b/core/src/main/java/org/geysermc/geyser/entity/type/player/PlayerEntity.java index 3578ac82b..c3b04402b 100644 --- a/core/src/main/java/org/geysermc/geyser/entity/type/player/PlayerEntity.java +++ b/core/src/main/java/org/geysermc/geyser/entity/type/player/PlayerEntity.java @@ -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); } }