mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Reverting 75a42ce26ccf2aaf164b98debfdf06a24d95b94d
This commit is contained in:
parent
2e0d49a2ba
commit
59763a35c7
@ -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…
x
Reference in New Issue
Block a user