mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
¬¬
This commit is contained in:
parent
423ead6b64
commit
894325aef6
@ -1229,10 +1229,10 @@ class Player{
|
||||
case MC_PONG:
|
||||
break;
|
||||
case MC_PING:
|
||||
$t = (int) (microtime(true) * 1000);
|
||||
$t = abs(microtime(true) * 1000);
|
||||
$this->dataPacket(MC_PONG, array(
|
||||
"ptime" => $data["time"],
|
||||
"time" => (int) (microtime(true) * 1000),
|
||||
"time" => $t,
|
||||
));
|
||||
$this->sendBuffer();
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user