mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
Removed deprecated network constants
This commit is contained in:
parent
17102058ca
commit
eb1ec2df05
@ -145,16 +145,6 @@ namespace pocketmine {
|
|||||||
define('pocketmine\DATA', isset($opts["data"]) ? $opts["data"] . DIRECTORY_SEPARATOR : \getcwd() . DIRECTORY_SEPARATOR);
|
define('pocketmine\DATA', isset($opts["data"]) ? $opts["data"] . DIRECTORY_SEPARATOR : \getcwd() . DIRECTORY_SEPARATOR);
|
||||||
define('pocketmine\PLUGIN_PATH', isset($opts["plugins"]) ? $opts["plugins"] . DIRECTORY_SEPARATOR : \getcwd() . DIRECTORY_SEPARATOR . "plugins" . DIRECTORY_SEPARATOR);
|
define('pocketmine\PLUGIN_PATH', isset($opts["plugins"]) ? $opts["plugins"] . DIRECTORY_SEPARATOR : \getcwd() . DIRECTORY_SEPARATOR . "plugins" . DIRECTORY_SEPARATOR);
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated This constant has moved to {@link \pocketmine\network\protocol\Info} and will be removed from here in the future.
|
|
||||||
*/
|
|
||||||
const MINECRAFT_VERSION = ProtocolInfo::MINECRAFT_VERSION;
|
|
||||||
/**
|
|
||||||
* @deprecated This constant has moved to {@link \pocketmine\network\protocol\Info} and will be removed from here in the future.
|
|
||||||
*/
|
|
||||||
const MINECRAFT_VERSION_NETWORK = ProtocolInfo::MINECRAFT_VERSION_NETWORK;
|
|
||||||
|
|
||||||
|
|
||||||
Terminal::init();
|
Terminal::init();
|
||||||
|
|
||||||
define('pocketmine\ANSI', Terminal::hasFormattingCodes());
|
define('pocketmine\ANSI', Terminal::hasFormattingCodes());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user