Require RakLib version 0.8.1

This commit is contained in:
Dylan K. Taylor 2017-08-24 19:26:11 +01:00
parent 238b3ca4c1
commit 3ee8f2b182
2 changed files with 7 additions and 1 deletions

View File

@ -144,6 +144,12 @@ namespace pocketmine {
exit(1);
}
if(version_compare(RakLib::VERSION, "0.8.1") < 0){
echo "[CRITICAL] RakLib version 0.8.1 is required, while you have version " . RakLib::VERSION . "." . PHP_EOL;
echo "[CRITICAL] Please update your submodules or use provided builds." . PHP_EOL;
exit(1);
}
set_time_limit(0); //Who set it to 30 seconds?!?!
ini_set("allow_url_fopen", '1');

@ -1 +1 @@
Subproject commit 3b1ca9c1bedf1a18ef40757665bf8c9e7e769c9c
Subproject commit 1fee79e4aac0f958ab720606e223b0aa690f5c47