Merge branch 'master' into mcpe-1.0

This commit is contained in:
Dylan K. Taylor 2017-01-25 17:37:54 +00:00
commit 755f4d232f

View File

@ -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";