mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
¬¬
This commit is contained in:
parent
423ead6b64
commit
894325aef6
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue