Skip to content

Commit

Permalink
Merge #3417 Don't include DLC in modpacks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Aug 3, 2021
2 parents 7a7e0ed + e352571 commit 4e851f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
### Bugfixes

- [Multiple] Clarify that downloading to cache does not install (#3400 by: HebaruSan; reviewed: DasSkelett)
- [Core] Don't include DLC in modpacks by default (#3417 by: HebaruSan; reviewed: DasSkelett)

### Internal

Expand Down
2 changes: 1 addition & 1 deletion Core/Registry/RegistryManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public CkanModule GenerateModpack(bool recommends = false, bool with_versions =
try
{
var avail = registry.LatestAvailable(kvp.Key, null, null);
return true;
return !avail.IsDLC;
}
catch
{
Expand Down

0 comments on commit 4e851f7

Please sign in to comment.