MCPE protocol gets its own namespace

This commit is contained in:
Dylan K. Taylor
2017-02-26 16:21:01 +00:00
parent 477cb77002
commit 56990eb28b
132 changed files with 600 additions and 601 deletions

View File

@ -21,7 +21,7 @@
namespace pocketmine\scheduler;
use pocketmine\network\protocol\Info;
use pocketmine\network\mcpe\protocol\ProtocolInfo;
use pocketmine\Server;
use pocketmine\utils\Utils;
use pocketmine\utils\UUID;
@ -58,7 +58,7 @@ class SendUsageTask extends AsyncTask{
"build" => $version->getBuild(),
"api" => $server->getApiVersion(),
"minecraftVersion" => $server->getVersion(),
"protocol" => Info::CURRENT_PROTOCOL
"protocol" => ProtocolInfo::CURRENT_PROTOCOL
];
$data["system"] = [