mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added Event support
This commit is contained in:
@ -80,6 +80,12 @@ if(!extension_loaded("zlib") and @dl((PHP_SHLIB_SUFFIX === "dll" ? "php_":"") .
|
||||
++$errors;
|
||||
}
|
||||
|
||||
if(extension_loaded("event")){
|
||||
define("HAS_EVENT", true);
|
||||
}else{
|
||||
define("HAS_EVENT", false);
|
||||
}
|
||||
|
||||
if($errors > 0){
|
||||
console("[ERROR] Please use the installer provided on the homepage.", true, true, 0);
|
||||
exit(1); //Exit with error
|
||||
|
Reference in New Issue
Block a user