Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 08:10:11 +01:00
Fix: Nametags not showing up (#4427)
Dieser Commit ist enthalten in:
Ursprung
63fd97ab32
Commit
19c6648bc2
@ -120,6 +120,9 @@ public class PlayerEntity extends LivingEntity implements GeyserPlayerEntity {
|
||||
super.initializeMetadata();
|
||||
// For the OptionalPack, set all bits as invisible by default as this matches Java Edition behavior
|
||||
dirtyMetadata.put(EntityDataTypes.MARK_VARIANT, 0xff);
|
||||
// Since 1.20.60, the nametag does not show properly if this is not set :/
|
||||
// The nametag does disappear properly when the player is invisible though.
|
||||
dirtyMetadata.put(EntityDataTypes.NAMETAG_ALWAYS_SHOW, (byte) 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren