mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-20 12:44:01 +00:00
Human: remove obsolete comment from sendSpawnPacket()
the referenced function doesn't exist anymore.
This commit is contained in:
parent
aa5395d6ed
commit
56dc3ce6ee
@ -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)]));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user