Human: remove obsolete comment from sendSpawnPacket()

the referenced function doesn't exist anymore.
This commit is contained in:
Dylan K. Taylor 2019-08-02 16:41:30 +01:00
parent aa5395d6ed
commit 56dc3ce6ee

View File

@ -405,7 +405,6 @@ class Human extends Living implements ProjectileSource, InventoryHolder{
protected function sendSpawnPacket(Player $player) : void{
if(!($this instanceof Player)){
/* we don't use Server->updatePlayerListData() because that uses batches, which could cause race conditions in async compression mode */
$player->sendDataPacket(PlayerListPacket::add([PlayerListEntry::createAdditionEntry($this->uuid, $this->id, $this->getName(), $this->skin)]));
}