mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
PocketMine.php: fixed pthreads version
This commit is contained in:
@ -105,8 +105,8 @@ namespace pocketmine {
|
|||||||
if(substr_count($pthreads_version, ".") < 2){
|
if(substr_count($pthreads_version, ".") < 2){
|
||||||
$pthreads_version = "0.$pthreads_version";
|
$pthreads_version = "0.$pthreads_version";
|
||||||
}
|
}
|
||||||
if(version_compare($pthreads_version, "3.1.7-dev") < 0){
|
if(version_compare($pthreads_version, "3.1.7dev") < 0){
|
||||||
critical_error("pthreads >= 3.1.7-dev is required, while you have $pthreads_version.");
|
critical_error("pthreads >= 3.1.7dev is required, while you have $pthreads_version.");
|
||||||
++$errors;
|
++$errors;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user