From 01bc7e10228a2c181cfd400fa38f18d2d49fb564 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Tue, 31 Oct 2023 03:26:52 +0300 Subject: [PATCH] removed console( --- src/Player.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Player.php b/src/Player.php index 109a019e..08a46b7e 100755 --- a/src/Player.php +++ b/src/Player.php @@ -80,7 +80,7 @@ class Player{ */ public function __construct($clientID, $ip, $port, $MTU){ $this->bigCnt = 0; - $this->MTU = $MTU; + $this->MTU = min($MTU, 1100); $this->server = ServerAPI::request(); $this->lastBreak = microtime(true); $this->clientID = $clientID; @@ -1193,7 +1193,6 @@ class Player{ $MTU = $this->MTU - 24; if(($this->entityMovementQueueLength + $len) >= $MTU){ - console("force send"); $this->sendEntityMovementUpdateQueue(); } if($motionSent){