mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +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);
|
$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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user