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 committed by GitHub
父節點 5e42ed41c4
當前提交 4a989844ca
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入2 次删除

查看文件

@ -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()];
}
}
}
}