mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed received cnt queue not getting cleared
This commit is contained in:
parent
339febd589
commit
3978b95843
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ class Player{
|
|||
$this->chatMessagesQueue = new RakNetPacket(RakNetInfo::DATA_PACKET_0);
|
||||
$this->chatMessagesQueue->data = [];
|
||||
|
||||
//$this->server->schedule(20 * 60, [$this, "clearQueue"], [], true);
|
||||
$this->server->schedule(20 * 60, [$this, "clearQueue"], [], true);
|
||||
$this->server->interface->maxACKsAllowed["{$this->ip}:{$this->port}"] = 0;
|
||||
$this->evid[] = $this->server->event("server.close", [$this, "close"]);
|
||||
console("[DEBUG] New Session started with $ip:$port. MTU {$this->MTU}, Client ID {$this->clientID}", true, true, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue