Fixed build number on crash dumps

This commit is contained in:
Shoghi Cervantes 2014-07-28 12:57:08 +02:00
parent aac646d343
commit bf09c48d62

View File

@ -186,7 +186,7 @@ class CrashDump{
$version = new VersionString();
$this->data["general"] = [];
$this->data["general"]["version"] = $version->get(false);
$this->data["general"]["build"] = $version->getNumber();
$this->data["general"]["build"] = $version->getBuild();
$this->data["general"]["protocol"] = Info::CURRENT_PROTOCOL;
$this->data["general"]["api"] = \pocketmine\API_VERSION;
$this->data["general"]["git"] = \pocketmine\GIT_COMMIT;