mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
Merge branch '3.5'
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user