mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
Player check is done with equal name, not alike
This commit is contained in:
parent
df174d1b8e
commit
1bc3b66afd
@ -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…
x
Reference in New Issue
Block a user