mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 20:28:31 +00:00
PocketMine.php: fixed pthreads version
This commit is contained in:
parent
fe29b89fd1
commit
03a55d5e9d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user