mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed kick from logging again
This commit is contained in:
@ -234,7 +234,7 @@ class Session{
|
|||||||
$u = $this->server->api->player->get($this->username);
|
$u = $this->server->api->player->get($this->username);
|
||||||
$c = $this->server->api->player->getByClientID($this->clientID);
|
$c = $this->server->api->player->getByClientID($this->clientID);
|
||||||
if($u !== false){
|
if($u !== false){
|
||||||
$c->close("logged in from another location");
|
$u->close("logged in from another location");
|
||||||
}
|
}
|
||||||
if($c !== false){
|
if($c !== false){
|
||||||
$c->close("logged in from another location");
|
$c->close("logged in from another location");
|
||||||
|
Reference in New Issue
Block a user