mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Added Player::realmsData for future checking
This commit is contained in:
parent
4755dee47d
commit
e67b583cbe
@ -79,6 +79,7 @@ class Player{
|
||||
public $lastCraft = 0;
|
||||
private $chunkCount = array();
|
||||
private $received = array();
|
||||
public $realmsData = array();
|
||||
|
||||
public function __get($name){
|
||||
if(isset($this->{$name})){
|
||||
@ -1034,6 +1035,7 @@ class Player{
|
||||
if($this->loggedIn === true){
|
||||
break;
|
||||
}
|
||||
$this->realmsData = array("clientId" => $data["clientId"], "realms_data" => $data["realms_data"]);
|
||||
if(count($this->server->clients) > $this->server->maxClients){
|
||||
$this->close("server is full!", false);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user