mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +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:
parent
c75e62b38c
commit
3bc3a0bb49
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user