mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Player: fixed verify-xuid not kicking in by default on old configs
This commit is contained in:
@ -2082,7 +2082,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
*/
|
*/
|
||||||
protected function processLogin(){
|
protected function processLogin(){
|
||||||
$this->namedtag = $this->server->getOfflinePlayerData($this->username);
|
$this->namedtag = $this->server->getOfflinePlayerData($this->username);
|
||||||
if((bool) $this->server->getProperty("player.verify-xuid")){
|
if((bool) $this->server->getProperty("player.verify-xuid", true)){
|
||||||
$recordedXUID = $this->namedtag->getTag("LastKnownXUID");
|
$recordedXUID = $this->namedtag->getTag("LastKnownXUID");
|
||||||
if(!($recordedXUID instanceof StringTag)){
|
if(!($recordedXUID instanceof StringTag)){
|
||||||
$this->server->getLogger()->debug("No previous XUID recorded for " . $this->getName() . ", no choice but to trust this player");
|
$this->server->getLogger()->debug("No previous XUID recorded for " . $this->getName() . ", no choice but to trust this player");
|
||||||
|
Reference in New Issue
Block a user