mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated console texts and help
This commit is contained in:
parent
82d49b0343
commit
d157299c7a
11 changed files with 62 additions and 78 deletions
|
|
@ -38,7 +38,7 @@ class TimeAPI{
|
|||
}
|
||||
|
||||
public function init(){
|
||||
$this->server->api->console->register("time", "Manages server time", array($this, "commandHandler"));
|
||||
$this->server->api->console->register("time", "<check|set|add> [time]", array($this, "commandHandler"));
|
||||
}
|
||||
|
||||
public function commandHandler($cmd, $params, $issuer, $alias){
|
||||
|
|
@ -69,7 +69,7 @@ class TimeAPI{
|
|||
$this->night();
|
||||
break;
|
||||
default:
|
||||
$output .= "Usage: /time <check | set | add | sunrise | day | sunset | night> [time]\n";
|
||||
$output .= "Usage: /time <check|set|add> [time]\n";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue