mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Player check is done with equal name, not alike
This commit is contained in:
parent
df174d1b8e
commit
1bc3b66afd
1 changed files with 1 additions and 1 deletions
|
|
@ -1167,7 +1167,7 @@ class Player{
|
||||||
}
|
}
|
||||||
$this->loggedIn = true;
|
$this->loggedIn = true;
|
||||||
|
|
||||||
$u = $this->server->api->player->get($this->iusername);
|
$u = $this->server->api->player->get($this->iusername, false);
|
||||||
if($u !== false){
|
if($u !== false){
|
||||||
$u->close("logged in from another location");
|
$u->close("logged in from another location");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue