Revert "Stop using insecure UUIDs from non-XBL players"

This reverts commit 9baf59702b.

I forgot this is also needed for the player list, and for skin updates
to work ... this will need to be revisited
This commit is contained in:
Dylan K. Taylor
2023-05-27 18:10:55 +01:00
parent 9baf59702b
commit 7f1550ef04
3 changed files with 3 additions and 21 deletions

View File

@ -95,7 +95,7 @@ class LoginPacketHandler extends PacketHandler{
}else{
$playerInfo = new PlayerInfo(
$extraData->displayName,
null, //we can't trust UUIDs of non-XBL players - replace this with a server-generated UUID
$uuid,
$skin,
$clientData->LanguageCode,
(array) $clientData