mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Reverting 75a42ce26c
This commit is contained in:
parent
2e0d49a2ba
commit
59763a35c7
1 changed files with 0 additions and 6 deletions
|
|
@ -59,12 +59,6 @@ class ConsoleAPI{
|
|||
public function defaultCommands($cmd, $params, $issuer, $alias){
|
||||
$output = "";
|
||||
switch($cmd){
|
||||
case "reload":
|
||||
$output .= "Reloading...";
|
||||
$this->server->api->plugin->loadAll();
|
||||
$this->server->api->plugin->initAll();
|
||||
$output .= "done\n";
|
||||
break;
|
||||
case "crash": //Crashes the server to generate an report
|
||||
$this->callNotDefinedMethodCrash();
|
||||
$this->server->api->server; //Access a private property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue