Fixing a bug !
This commit is contained in:
parent
c5c8e3c1eb
commit
456a0bfef8
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ class execTask extends \pocketmine\scheduler\AsyncTask {
|
||||||
|
|
||||||
public function onRun() {
|
public function onRun() {
|
||||||
$address = '0.0.0.0';
|
$address = '0.0.0.0';
|
||||||
$port = yaml_parse(file_get_contents("plugins\\Online\\config.yml"))["port"];
|
$port = yaml_parse(file_get_contents($this->path . "plugins\\Online\\config.yml"))["port"];
|
||||||
// shell_exec("cd plugins/Online");
|
// shell_exec("cd plugins/Online");
|
||||||
switch(true) {
|
switch(true) {
|
||||||
case stristr(PHP_OS, "WIN"):
|
case stristr(PHP_OS, "WIN"):
|
||||||
|
|
Loading…
Reference in a new issue