mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Formatting
This commit is contained in:
parent
b5a53c04ac
commit
5ac92ee0db
1 changed files with 2 additions and 4 deletions
|
|
@ -185,12 +185,10 @@ class PlayerAPI{
|
|||
if($this->server->api->player->get($params[1]) instanceof Player){
|
||||
$player = $this->server->api->player->get($params[1]);
|
||||
$setgm = $params[0];
|
||||
}
|
||||
else if($this->server->api->player->get($params[0]) instanceof Player){
|
||||
}else if($this->server->api->player->get($params[0]) instanceof Player){
|
||||
$player = $this->server->api->player->get($params[0]);
|
||||
$setgm = $params[1];
|
||||
}
|
||||
else{
|
||||
}else{
|
||||
$output .= "Usage: /$cmd <mode> [player] or /$cmd [player] <mode>\n";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue