mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Hmm, typo
This commit is contained in:
parent
c6f189f93f
commit
0f0b866788
@ -1319,7 +1319,7 @@ class Player extends Human implements CommandSender, IPlayer{
|
||||
foreach($this->server->getOnlinePlayers() as $p){
|
||||
if($p !== $this and strtolower($p->getName()) === strtolower($this->getName())){
|
||||
if($p->kick("logged in from another location") === false){
|
||||
$this->close($p->getName() . " has left the game", "already logged in");
|
||||
$this->close($this->getName() . " has left the game", "already logged in");
|
||||
return;
|
||||
}else{
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user