mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-19 15:35:52 +00:00
Fixed kick from logging again
This commit is contained in:
parent
af9f1c3d01
commit
6339fb31bc
@ -234,7 +234,7 @@ class Session{
|
||||
$u = $this->server->api->player->get($this->username);
|
||||
$c = $this->server->api->player->getByClientID($this->clientID);
|
||||
if($u !== false){
|
||||
$c->close("logged in from another location");
|
||||
$u->close("logged in from another location");
|
||||
}
|
||||
if($c !== false){
|
||||
$c->close("logged in from another location");
|
||||
|
Loading…
x
Reference in New Issue
Block a user