mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 19:50:18 +00:00
Entity: clean up sendData() handling, remove send-to-self hack
This commit is contained in:
@@ -649,8 +649,7 @@ class NetworkSession{
|
||||
}
|
||||
|
||||
public function onRespawn() : void{
|
||||
$this->player->sendData($this->player);
|
||||
$this->player->sendData($this->player->getViewers());
|
||||
$this->player->sendData(null);
|
||||
|
||||
$this->syncAdventureSettings($this->player);
|
||||
$this->invManager->syncAll();
|
||||
|
Reference in New Issue
Block a user