mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
some CS
This commit is contained in:
parent
437576a981
commit
a4b7fbf2df
10 changed files with 24 additions and 24 deletions
|
|
@ -165,7 +165,7 @@ class AchievementAPI{
|
|||
}else{
|
||||
$data = $issuer->achievements;
|
||||
}
|
||||
}else if(!($issuer instanceof Player) || $this->server->api->ban->isOp($issuer->iusername)){
|
||||
}elseif(!($issuer instanceof Player) || $this->server->api->ban->isOp($issuer->iusername)){
|
||||
$player = $this->server->api->player->get($params[0]);
|
||||
$data = $player instanceof Player ? $player->data : $this->server->api->player->getOffline(trim($params[0]), false);
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue