Pārlūkot izejas kodu

Fairly interesting... Fixing #2

master
Ad5001 pirms 2 gadiem
vecāks
revīzija
5e42ed41c4

+ 1
- 1
src/Ad5001/PlayerSelectors/selector/ClosestPlayer.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt