mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Reverting 75a42ce26c
This commit is contained in:
@@ -59,12 +59,6 @@ class ConsoleAPI{
|
|||||||
public function defaultCommands($cmd, $params, $issuer, $alias){
|
public function defaultCommands($cmd, $params, $issuer, $alias){
|
||||||
$output = "";
|
$output = "";
|
||||||
switch($cmd){
|
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
|
case "crash": //Crashes the server to generate an report
|
||||||
$this->callNotDefinedMethodCrash();
|
$this->callNotDefinedMethodCrash();
|
||||||
$this->server->api->server; //Access a private property
|
$this->server->api->server; //Access a private property
|
||||||
|
Reference in New Issue
Block a user