mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
mtu size increased, block updates queue sequences are now added into recoveryQueue, small change to how lost packets are calculated, replaced switch cases to create packet with match
This commit is contained in:
parent
24269bc359
commit
66bc178238
6 changed files with 73 additions and 180 deletions
|
|
@ -589,10 +589,10 @@ class PocketMinecraftServer{
|
|||
break;
|
||||
}
|
||||
|
||||
$this->clients[$CID] = new Player($packet->clientID, $packet->ip, $packet->port, $packet->mtuSize); //New Session!
|
||||
$this->clients[$CID] = $c = new Player($packet->clientID, $packet->ip, $packet->port, $packet->mtuSize); //New Session!
|
||||
$pk = new RakNetPacket(RakNetInfo::OPEN_CONNECTION_REPLY_2);
|
||||
$pk->serverID = $this->serverID;
|
||||
$pk->mtuSize = $packet->mtuSize;
|
||||
$pk->mtuSize = $c->MTU;
|
||||
$pk->ip = $packet->ip;
|
||||
$pk->port = $packet->port;
|
||||
$this->send($pk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue