From 09a6776674ddfb1e7f25facc89301607972e3c2b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 25 Jan 2017 17:36:40 +0000 Subject: [PATCH] Fixed a bug in CrashDump @xxFlare really? --- src/pocketmine/CrashDump.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/CrashDump.php b/src/pocketmine/CrashDump.php index 03faac63a..abf7db96b 100644 --- a/src/pocketmine/CrashDump.php +++ b/src/pocketmine/CrashDump.php @@ -41,7 +41,7 @@ class CrashDump{ public function __construct(Server $server){ $this->time = time(); $this->server = $server; - if(!is_dir($this->server->getDataPath()) . "crashdumps"){ + if(!is_dir($this->server->getDataPath() . "crashdumps")){ mkdir($this->server->getDataPath() . "crashdumps"); } $this->path = $this->server->getDataPath() . "crashdumps/" . date("D_M_j-H.i.s-T_Y", $this->time) . ".log";