diff --git a/revanced.ps1 b/revanced.ps1 index 0e2468a..924dd32 100644 --- a/revanced.ps1 +++ b/revanced.ps1 @@ -175,6 +175,7 @@ class configFile { } [System.Collections.ArrayList] getIncludesForPackage([String] $packageName) { + if (-not $this.config.included.Keys.Contains($packageName)) { return [System.Collections.ArrayList]::new() } return $this.config.included[$packageName].Clone() } }