mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Updated to extension 0.0.2
This commit is contained in:
@ -328,9 +328,14 @@ namespace pocketmine {
|
||||
//console("[NOTICE] Couldn't find the uopz extension. Some functions may be limited", true, true, 0);
|
||||
}
|
||||
|
||||
if(extension_loaded("pocketmine") and 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;
|
||||
if(extension_loaded("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);
|
||||
++$errors;
|
||||
}
|
||||
}
|
||||
|
||||
if(!extension_loaded("curl")){
|
||||
|
Reference in New Issue
Block a user