mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Server: drop redundant proxy function broadcastPacket()
this is just making it harder to search for broadcast usages, and we want to get rid of all packet broadcasting shit from Server anyway.
This commit is contained in:
@ -155,7 +155,7 @@ class Human extends Living implements ProjectileSource, InventoryHolder{
|
||||
$pk = new PlayerSkinPacket();
|
||||
$pk->uuid = $this->getUniqueId();
|
||||
$pk->skin = $this->skin;
|
||||
$this->server->broadcastPacket($targets ?? $this->hasSpawned, $pk);
|
||||
$this->server->broadcastPackets($targets ?? $this->hasSpawned, [$pk]);
|
||||
}
|
||||
|
||||
public function jump() : void{
|
||||
|
Reference in New Issue
Block a user