Skip to content

setNameTagAlwaysVisible() not working as intended  #2187

Open
@Sherko231

Description

@Sherko231

setNameTagAlwaysVisible() not working as intended (it was working in previous versions (last time i checked was on 1.20.30))

Expected Behavior

to hide player's nametag (only shown when hovering over the player)

Actual Behavior

doesn't work at all ... except if I despawned the player -> run the method -> spawn the player again :

player.despawnFromAll();
player.setNameTagAlwaysVisible(false);
player.spawnToAll();

Steps to Reproduce

just run the method setNameTagAlwaysVisible() on any player

Debug Information

No errors

Checklist:

  • [✅] I made sure there aren't duplicates of this report (Use Search)
  • [✅] I made sure I am using an up-to-date version of Nukkit
  • [✅] I Made sure the bug/error is not caused by a plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions