Implemented working Name tag (#5209)

This commit is contained in:
IvanCraft623
2024-02-19 13:46:48 -05:00
committed by GitHub
parent 4fab518384
commit 920341668f
8 changed files with 62 additions and 1 deletions

View File

@ -630,6 +630,10 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
$this->displayName = $ev->getNewName();
}
public function canBeRenamed() : bool{
return false;
}
/**
* Returns the player's locale, e.g. en_US.
*/