From d40ba6d558dab7da0bafefba29d582eb1099cdf9 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:26:56 +0300 Subject: [PATCH] fix importance resolving in disabled mods --- loader/src/loader/ModMetadataImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/loader/ModMetadataImpl.cpp b/loader/src/loader/ModMetadataImpl.cpp index 8a7b366c2..47f02b89d 100644 --- a/loader/src/loader/ModMetadataImpl.cpp +++ b/loader/src/loader/ModMetadataImpl.cpp @@ -57,7 +57,7 @@ bool ModMetadata::Dependency::isResolved() const { bool ModMetadata::Incompatibility::isResolved() const { return this->importance != Importance::Breaking || - (!this->mod || !this->version.compare(this->mod->getVersion())); + (!this->mod || !this->mod->isEnabled() || !this->version.compare(this->mod->getVersion())); } static std::string sanitizeDetailsData(std::string const& str) {