mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Fixed kick from logging again
This commit is contained in:
parent
af9f1c3d01
commit
6339fb31bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue