mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Commands are executed as console by default
This commit is contained in:
parent
88a4116398
commit
5e9e2b2a7d
@ -163,7 +163,7 @@ class ConsoleAPI{
|
||||
ksort($this->help, SORT_NATURAL | SORT_FLAG_CASE);
|
||||
}
|
||||
|
||||
public function run($line = "", $issuer = false, $alias = false){
|
||||
public function run($line = "", $issuer = "console", $alias = false){
|
||||
if($line != ""){
|
||||
$params = explode(" ", $line);
|
||||
$cmd = strtolower(array_shift($params));
|
||||
|
Loading…
x
Reference in New Issue
Block a user