mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Improved unique id generation for server
This commit is contained in:
@ -40,8 +40,9 @@ class SendUsageTask extends AsyncTask{
|
||||
$path = "post";
|
||||
|
||||
$data = [];
|
||||
$data["uniqueServerId"] = Utils::getServerUniqueId();
|
||||
$data["uniqueRequestId"] = Utils::dataToUUID(Utils::getServerUniqueId(), microtime(true));
|
||||
$data["uniqueServerId"] = $server->getServerUniqueId();
|
||||
$data["uniqueMachineId"] = Utils::getMachineUniqueId();
|
||||
$data["uniqueRequestId"] = Utils::dataToUUID($server->getServerUniqueId(), microtime(true));
|
||||
|
||||
switch($type){
|
||||
case self::TYPE_OPEN:
|
||||
|
Reference in New Issue
Block a user