mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Remove redundant inventory resend on gamemode change
inventory isn't modified, so there is no need to resend it
This commit is contained in:
@ -1310,11 +1310,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
}
|
||||
|
||||
$this->sendSettings();
|
||||
|
||||
$this->inventory->sendContents($this);
|
||||
$this->inventory->sendContents($this->getViewers());
|
||||
$this->inventory->sendHeldItem($this->hasSpawned);
|
||||
|
||||
$this->inventory->sendCreativeContents();
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user