Added /op, /deop, /kick, OfflinePlayer, moved player list to Server instead of static Player

This commit is contained in:
Shoghi Cervantes
2014-04-01 19:46:48 +02:00
parent e60ea2eb15
commit b4cc3bbd43
16 changed files with 699 additions and 204 deletions

View File

@ -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;
}