mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Fix
This commit is contained in:
parent
2957f35194
commit
0a4beaf051
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ class PocketMinecraftServer{
|
||||||
$port = $data[2];
|
$port = $data[2];
|
||||||
$MTU = $data[3];
|
$MTU = $data[3];
|
||||||
$clientID = $data[4];
|
$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->clients[$CID] = new Player($clientID, $packet["ip"], $packet["port"], $MTU); //New Session!
|
||||||
$this->send(0x08, array(
|
$this->send(0x08, array(
|
||||||
RAKNET_MAGIC,
|
RAKNET_MAGIC,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue