mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Player: fixed verify-xuid not kicking in by default on old configs
This commit is contained in:
parent
606d56b55d
commit
46e9f0cec6
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user