CloudburstMC / Nukkit

Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
https://cloudburstmc.org
GNU General Public License v3.0
1.21k stars 420 forks source link

setNameTagAlwaysVisible() not working as intended #2187

Open Sherko231 opened 2 months ago

Sherko231 commented 2 months ago

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: