Skip to content

Commit

Permalink
fix importance resolving in disabled mods
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Oct 1, 2024
1 parent 8be97b7 commit d40ba6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/loader/ModMetadataImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d40ba6d

Please sign in to comment.