diff --git a/src/build/compile.sh b/src/build/compile.sh index 83ee675e1..9a17a26f4 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -9,7 +9,7 @@ READLINE_VERSION="6.3" NCURSES_VERSION="5.9" PHPNCURSES_VERSION="1.0.2" PTHREADS_VERSION="2.0.4" -PHP_POCKETMINE_VERSION="0.0.2" +PHP_POCKETMINE_VERSION="0.0.3" UOPZ_VERSION="2.0.3" WEAKREF_VERSION="0.2.2" PHPYAML_VERSION="1.1.1" diff --git a/src/pocketmine/PocketMine.php b/src/pocketmine/PocketMine.php index e23b47fa5..d3cd23934 100644 --- a/src/pocketmine/PocketMine.php +++ b/src/pocketmine/PocketMine.php @@ -332,8 +332,8 @@ namespace pocketmine { if(version_compare(phpversion("pocketmine"), "0.0.1") < 0){ console("[ERROR] You have the native PocketMine extension, but your version is lower than 0.0.1.", true, true, 0); ++$errors; - }elseif(version_compare(phpversion("pocketmine"), "0.0.2") > 0){ - console("[ERROR] You have the native PocketMine extension, but your version is lower than 0.0.2.", true, true, 0); + }elseif(version_compare(phpversion("pocketmine"), "0.0.3") > 0){ + console("[ERROR] You have the native PocketMine extension, but your version is lower than 0.0.3.", true, true, 0); ++$errors; } }