mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Updated some packets for 0.12, UUIDs, other stuff!
This commit is contained in:
@ -101,13 +101,13 @@ class SendUsageTask extends AsyncTask{
|
||||
|
||||
//This anonymizes the user ids so they cannot be reversed to the original
|
||||
foreach($playerList as $k => $v){
|
||||
$playerList[$k] = Utils::dataToUUID($v);
|
||||
$playerList[$k] = md5($v);
|
||||
}
|
||||
|
||||
$players = [];
|
||||
foreach($server->getOnlinePlayers() as $p){
|
||||
if($p->isOnline()){
|
||||
$players[] = Utils::dataToUUID($p->getUniqueId());
|
||||
$players[] = md5($p->getUniqueId()->toBinary());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user