mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Commands are executed as console by default
This commit is contained in:
parent
88a4116398
commit
5e9e2b2a7d
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ class ConsoleAPI{
|
||||||
ksort($this->help, SORT_NATURAL | SORT_FLAG_CASE);
|
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 != ""){
|
if($line != ""){
|
||||||
$params = explode(" ", $line);
|
$params = explode(" ", $line);
|
||||||
$cmd = strtolower(array_shift($params));
|
$cmd = strtolower(array_shift($params));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue