mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Added /op, /deop, /kick, OfflinePlayer, moved player list to Server instead of static Player
This commit is contained in:
@ -47,7 +47,7 @@ class PlayerChatEvent extends PlayerEvent implements Cancellable{
|
||||
$this->message = $message;
|
||||
$this->format = $format;
|
||||
if($recipients === null){
|
||||
$this->recipients = Server::getInstance()->getPluginManager()->getPermissionSubscriptions(Player::BROADCAST_CHANNEL_USERS);
|
||||
$this->recipients = Server::getInstance()->getPluginManager()->getPermissionSubscriptions(Server::BROADCAST_CHANNEL_USERS);
|
||||
}else{
|
||||
$this->recipients = $recipients;
|
||||
}
|
||||
|
Reference in New Issue
Block a user