mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Stop using insecure UUIDs from non-XBL players
closes #4076 I opted for the minimal approach of replacing only UUIDs for non-XBL players, since most servers are using XBL anyway (as they should).
This commit is contained in:
@ -95,7 +95,7 @@ class LoginPacketHandler extends PacketHandler{
|
||||
}else{
|
||||
$playerInfo = new PlayerInfo(
|
||||
$extraData->displayName,
|
||||
$uuid,
|
||||
null, //we can't trust UUIDs of non-XBL players - replace this with a server-generated UUID
|
||||
$skin,
|
||||
$clientData->LanguageCode,
|
||||
(array) $clientData
|
||||
|
Reference in New Issue
Block a user