mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
setDisplayName skin fix
This commit is contained in:
parent
62848b914d
commit
0f993f8beb
@ -571,7 +571,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
public function setDisplayName($name){
|
public function setDisplayName($name){
|
||||||
$this->displayName = $name;
|
$this->displayName = $name;
|
||||||
if($this->spawned){
|
if($this->spawned){
|
||||||
$this->server->updatePlayerListData($this->getUniqueId(), $this->getId(), $this->getDisplayName(), $isSlim, $str);
|
$this->server->updatePlayerListData($this->getUniqueId(), $this->getId(), $this->getDisplayName(), $this->isSkinSlim(), $this->getSkinData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user