diff --git a/src/iTXTech/SimpleFramework/Framework.php b/src/iTXTech/SimpleFramework/Framework.php index 3a0361f..3405cab 100644 --- a/src/iTXTech/SimpleFramework/Framework.php +++ b/src/iTXTech/SimpleFramework/Framework.php @@ -34,7 +34,7 @@ class Framework implements OnCompletionListener{ public const PROG_NAME = "SimpleFramework"; - public const PROG_VERSION = "2.2.0-beta.1"; + public const PROG_VERSION = "2.2.0-beta.2"; public const API_LEVEL = 7; public const CODENAME = "Centaur"; diff --git a/src/iTXTech/SimpleFramework/Module/WraithSpireMDR.php b/src/iTXTech/SimpleFramework/Module/WraithSpireMDR.php index 0fa6577..ff91fa3 100644 --- a/src/iTXTech/SimpleFramework/Module/WraithSpireMDR.php +++ b/src/iTXTech/SimpleFramework/Module/WraithSpireMDR.php @@ -78,7 +78,7 @@ public function downloadDependency(string $moduleName, string $name, string $ver rename($file, $file . ".old"); Logger::info(TextFormat::AQUA . "You must restart this program after resolved dependencies."); } - if(($data = $this->getModuleData($vendor, $name, $version)) !== false){ + if(($data = $this->getModuleData($vendor, $name, $version)) !== false and ($data !== null)){ if($data["api"] > Framework::API_LEVEL){ Logger::info("$vendor/$name version $version requires API: " . $data["api"] . " Current API: " . Framework::API_LEVEL . ". Module may not work properly."); }