Merge branch '3.5'

This commit is contained in:
Dylan K. Taylor 2019-01-27 15:08:26 +00:00
commit 6f9c4eb8e8

View File

@ -623,6 +623,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$this->perm->recalculatePermissions(); $this->perm->recalculatePermissions();
if($this->spawned){
if($this->hasPermission(Server::BROADCAST_CHANNEL_USERS)){ if($this->hasPermission(Server::BROADCAST_CHANNEL_USERS)){
$permManager->subscribeToPermission(Server::BROADCAST_CHANNEL_USERS, $this); $permManager->subscribeToPermission(Server::BROADCAST_CHANNEL_USERS, $this);
} }
@ -630,7 +631,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$permManager->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE, $this); $permManager->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE, $this);
} }
if($this->spawned){
$this->sendCommandData(); $this->sendCommandData();
} }
} }