mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
removed console(
This commit is contained in:
parent
ffd5fa738c
commit
01bc7e1022
1 changed files with 1 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ class Player{
|
||||||
*/
|
*/
|
||||||
public function __construct($clientID, $ip, $port, $MTU){
|
public function __construct($clientID, $ip, $port, $MTU){
|
||||||
$this->bigCnt = 0;
|
$this->bigCnt = 0;
|
||||||
$this->MTU = $MTU;
|
$this->MTU = min($MTU, 1100);
|
||||||
$this->server = ServerAPI::request();
|
$this->server = ServerAPI::request();
|
||||||
$this->lastBreak = microtime(true);
|
$this->lastBreak = microtime(true);
|
||||||
$this->clientID = $clientID;
|
$this->clientID = $clientID;
|
||||||
|
|
@ -1193,7 +1193,6 @@ class Player{
|
||||||
|
|
||||||
$MTU = $this->MTU - 24;
|
$MTU = $this->MTU - 24;
|
||||||
if(($this->entityMovementQueueLength + $len) >= $MTU){
|
if(($this->entityMovementQueueLength + $len) >= $MTU){
|
||||||
console("force send");
|
|
||||||
$this->sendEntityMovementUpdateQueue();
|
$this->sendEntityMovementUpdateQueue();
|
||||||
}
|
}
|
||||||
if($motionSent){
|
if($motionSent){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue