mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed typo
This commit is contained in:
parent
7dbf421e99
commit
14ab386b0f
3 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,6 @@ class BanAPI{
|
|||
$this->server->api->console->alias("pardon", "ban remove");
|
||||
$this->server->api->console->alias("pardon-ip", "banip remove");
|
||||
$this->server->addHandler("console.command", array($this, "permissionsCheck"), 1);
|
||||
$this->cmdWhitelist("help");
|
||||
}
|
||||
|
||||
public function cmdWhitelist($cmd){
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ class ConsoleAPI{
|
|||
$this->register("say", "Broadcast a message", array($this, "defaultCommands"));
|
||||
$this->register("save-all", "Save pending changes to disk", array($this, "defaultCommands"));
|
||||
$this->register("stop", "Stops the server gracefully", array($this, "defaultCommands"));
|
||||
$this->server->api->ban->cmdWhitelist("help");
|
||||
}
|
||||
|
||||
function __destruct(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue