mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
VersionInfo: make static methods more constant-like
if we could have class constants declared at runtime, these would be constant.
This commit is contained in:
@ -71,7 +71,7 @@ class SendUsageTask extends AsyncTask{
|
||||
case self::TYPE_OPEN:
|
||||
$data["event"] = "open";
|
||||
|
||||
$version = VersionInfo::getVersionObj();
|
||||
$version = VersionInfo::VERSION();
|
||||
|
||||
$data["server"] = [
|
||||
"port" => $server->getPort(),
|
||||
|
Reference in New Issue
Block a user