From 3de5e132a2edddfccb371332fa7bcccae1847f89 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 22 Feb 2018 22:05:35 +0000 Subject: [PATCH] CrashDump: fixed broken argv reporting --- src/pocketmine/CrashDump.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/CrashDump.php b/src/pocketmine/CrashDump.php index 04840952a..6cefcb97d 100644 --- a/src/pocketmine/CrashDump.php +++ b/src/pocketmine/CrashDump.php @@ -115,10 +115,10 @@ class CrashDump{ } private function extraData(){ - global $arguments; + global $argv; if($this->server->getProperty("auto-report.send-settings", true) !== false){ - $this->data["parameters"] = (array) $arguments; + $this->data["parameters"] = (array) $argv; $this->data["server.properties"] = @file_get_contents($this->server->getDataPath() . "server.properties"); $this->data["server.properties"] = preg_replace("#^rcon\\.password=(.*)$#m", "rcon.password=******", $this->data["server.properties"]); $this->data["pocketmine.yml"] = @file_get_contents($this->server->getDataPath() . "pocketmine.yml");