mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 15:37:53 -05:00
fix importance resolving in disabled mods
This commit is contained in:
parent
8be97b73c9
commit
d40ba6d558
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ bool ModMetadata::Dependency::isResolved() const {
|
||||||
|
|
||||||
bool ModMetadata::Incompatibility::isResolved() const {
|
bool ModMetadata::Incompatibility::isResolved() const {
|
||||||
return this->importance != Importance::Breaking ||
|
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) {
|
static std::string sanitizeDetailsData(std::string const& str) {
|
||||||
|
|
Loading…
Reference in a new issue