Updated extension to 0.0.3

This commit is contained in:
Shoghi Cervantes 2014-04-09 01:12:56 +02:00
parent db15ae49a1
commit 5070866fe0
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ READLINE_VERSION="6.3"
NCURSES_VERSION="5.9" NCURSES_VERSION="5.9"
PHPNCURSES_VERSION="1.0.2" PHPNCURSES_VERSION="1.0.2"
PTHREADS_VERSION="2.0.4" PTHREADS_VERSION="2.0.4"
PHP_POCKETMINE_VERSION="0.0.2" PHP_POCKETMINE_VERSION="0.0.3"
UOPZ_VERSION="2.0.3" UOPZ_VERSION="2.0.3"
WEAKREF_VERSION="0.2.2" WEAKREF_VERSION="0.2.2"
PHPYAML_VERSION="1.1.1" PHPYAML_VERSION="1.1.1"

View File

@ -332,8 +332,8 @@ namespace pocketmine {
if(version_compare(phpversion("pocketmine"), "0.0.1") < 0){ 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); console("[ERROR] You have the native PocketMine extension, but your version is lower than 0.0.1.", true, true, 0);
++$errors; ++$errors;
}elseif(version_compare(phpversion("pocketmine"), "0.0.2") > 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.2.", true, true, 0); console("[ERROR] You have the native PocketMine extension, but your version is lower than 0.0.3.", true, true, 0);
++$errors; ++$errors;
} }
} }