I should really focus more...

and not do theses kind of stupidities... again.
This commit is contained in:
Ad5001 2017-11-11 16:02:52 +01:00 zatwierdzone przez GitHub
rodzic 5e42ed41c4
commit 4a989844ca
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -27,7 +27,7 @@ class ClosestPlayer extends Selector{
// Console
if(!($sender instanceof Player)) {
if(count($online) > 0){
return [$online[array_keys($online)[0]]];
return [$online[array_keys($online)[0]]->getName()];
} else {
return [$sender->getName()];
}
@ -47,4 +47,4 @@ class ClosestPlayer extends Selector{
return [$sender->getName()];
}
}
}
}