mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-15 16:05:28 +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){
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user