Removed hardcoded Server name from source

This commit is contained in:
Shoghi Cervantes
2014-08-22 18:31:17 +02:00
parent 6077190a62
commit 60ea4d0e96
6 changed files with 13 additions and 13 deletions

View File

@ -43,7 +43,7 @@ class CrashDump{
$this->path = $this->server->getDataPath() . "CrashDump_" . date("D_M_j-H.i.s-T_Y", $this->time) . ".log";
$this->fp = fopen($this->path, "wb");
$this->data["time"] = $this->time;
$this->addLine("PocketMine-MP Crash Dump " . date("D M j H:i:s T Y", $this->time));
$this->addLine($this->server->getName() . " Crash Dump " . date("D M j H:i:s T Y", $this->time));
$this->addLine();
$this->baseCrash();
$this->generalData();