mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
Updated RakLib path
This commit is contained in:
parent
0a4e0e3228
commit
317c6788a6
@ -98,11 +98,8 @@ namespace pocketmine {
|
|||||||
$autoloader = new CompatibleClassLoader();
|
$autoloader = new CompatibleClassLoader();
|
||||||
$autoloader->addPath(\pocketmine\PATH . "src");
|
$autoloader->addPath(\pocketmine\PATH . "src");
|
||||||
$autoloader->addPath(\pocketmine\PATH . "src" . DIRECTORY_SEPARATOR . "spl");
|
$autoloader->addPath(\pocketmine\PATH . "src" . DIRECTORY_SEPARATOR . "spl");
|
||||||
|
$autoloader->addPath(\pocketmine\PATH . "src" . DIRECTORY_SEPARATOR . "raklib");
|
||||||
$autoloader->register(true);
|
$autoloader->register(true);
|
||||||
if(!class_exists("raklib\\RakLib", false)){
|
|
||||||
require(\pocketmine\PATH . "src/raklib/raklib/RakLib.php");
|
|
||||||
}
|
|
||||||
RakLib::bootstrap($autoloader);
|
|
||||||
|
|
||||||
//Startup code. Do not look at it, it can harm you. Most of them are hacks to fix date-related bugs, or basic functions used after this
|
//Startup code. Do not look at it, it can harm you. Most of them are hacks to fix date-related bugs, or basic functions used after this
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 9435637fd7262e16ec2c4e4186c30c8989b7cd56
|
Subproject commit 6fad38f761d9ee204839eb557503645799b2ec99
|
Loading…
x
Reference in New Issue
Block a user