mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 12:54:03 +00:00
Merge branch '3.5'
This commit is contained in:
commit
6f9c4eb8e8
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user