mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Removed /crash
This commit is contained in:
@@ -59,11 +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 "crash": //Crashes the server to generate an report
|
|
||||||
$this->callNotDefinedMethodCrash();
|
|
||||||
$this->server->api->server; //Access a private property
|
|
||||||
callNotExistingFunction();
|
|
||||||
break;
|
|
||||||
case "invisible":
|
case "invisible":
|
||||||
$p = strtolower(array_shift($params));
|
$p = strtolower(array_shift($params));
|
||||||
switch($p){
|
switch($p){
|
||||||
|
Reference in New Issue
Block a user