This commit is contained in:
Shoghi Cervantes 2013-06-12 00:07:20 +02:00
parent 2957f35194
commit 0a4beaf051

View File

@ -469,7 +469,7 @@ class PocketMinecraftServer{
$port = $data[2];
$MTU = $data[3];
$clientID = $data[4];
if(count($this->server->clients) < $this->server->maxClients){
if(count($this->clients) < $this->maxClients){
$this->clients[$CID] = new Player($clientID, $packet["ip"], $packet["port"], $MTU); //New Session!
$this->send(0x08, array(
RAKNET_MAGIC,