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