Skip to content

Commit e6174bc

Browse files
committed
SF: release 2.2.0-beta.2
1 parent e8ff0a8 commit e6174bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/iTXTech/SimpleFramework/Framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
class Framework implements OnCompletionListener{
3636
public const PROG_NAME = "SimpleFramework";
37-
public const PROG_VERSION = "2.2.0-beta.1";
37+
public const PROG_VERSION = "2.2.0-beta.2";
3838
public const API_LEVEL = 7;
3939
public const CODENAME = "Centaur";
4040

src/iTXTech/SimpleFramework/Module/WraithSpireMDR.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function downloadDependency(string $moduleName, string $name, string $ver
7878
rename($file, $file . ".old");
7979
Logger::info(TextFormat::AQUA . "You must restart this program after resolved dependencies.");
8080
}
81-
if(($data = $this->getModuleData($vendor, $name, $version)) !== false){
81+
if(($data = $this->getModuleData($vendor, $name, $version)) !== false and ($data !== null)){
8282
if($data["api"] > Framework::API_LEVEL){
8383
Logger::info("$vendor/$name version $version requires API: " . $data["api"] . " Current API: " . Framework::API_LEVEL . ". Module may not work properly.");
8484
}

0 commit comments

Comments
 (0)