player without nicknames get login as nick
This commit is contained in:
parent
53ea9c7774
commit
443b42fd3c
@ -59,6 +59,9 @@ class Player {
|
|||||||
$this->ipAddress = $rpcInfos['IPAddress'];
|
$this->ipAddress = $rpcInfos['IPAddress'];
|
||||||
|
|
||||||
$this->joinTime = time();
|
$this->joinTime = time();
|
||||||
|
|
||||||
|
if($this->nickname == '')
|
||||||
|
$this->nickname = $this->login;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user