Nametag visibility is not persisted #4669
Labels
Category: Core
Related to internal functionality
Easy task
Probably really easy to do, good task for first-time contributors
Status: Debugged
Cause of the bug has been found, but not fixed
Issue description
Steps to reproduce the issue
Make a simple plugin for creating Entity such as Human:
$npc = new Human($sender->getServer()->getPlayerExact($sender->getName())->getLocation(), $sender->getServer()->getPlayerExact($sender->getName())->getSkin());
Give for your Human nameTag:
$npc->setNameTag("7776661111");
Set nameTag of your Human always visible:
$npc->setNameTagAlwaysVisible();
Restart server.
It happened that should have been expects. nameTag is not always displayed, only when you hover on it.
OS and versions
The text was updated successfully, but these errors were encountered: