Skip to content

Commit

Permalink
v4.4.0.3
Browse files Browse the repository at this point in the history
* Added another TML 11 internal compatibility tweak (ModIdentityHelpers.FindDependencyModMajorVersionMismatches)
  • Loading branch information
hamstar0 committed Jul 2, 2019
1 parent 8fa9dc1 commit 3606dc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Helpers/TmlHelpers/ModHelpers/ModIdentityHelpers.cs
Expand Up @@ -27,6 +27,10 @@ public class ModIdentityHelpers {


public static IDictionary<Mod, Version> FindDependencyModMajorVersionMismatches( Mod mod ) {
if( ModLoader.version >= new Version(0, 11) ) {
return new Dictionary<Mod, Version>();
}

Services.Tml.BuildPropertiesEditor buildEditor = Services.Tml.BuildPropertiesEditor.GetBuildPropertiesForModFile( mod.File );
IDictionary<string, Version> modRefs = buildEditor.ModReferences;
var badModDeps = new Dictionary<Mod, Version>();
Expand Down
2 changes: 1 addition & 1 deletion build.txt
@@ -1,5 +1,5 @@
author = hamstar
version = 4.4.0.2
version = 4.4.0.3
displayName = Mod Helpers
buildIgnore = *.csproj, *.user, *.bat, obj\*, bin\*, .vs\*, .git\*
includePDB = false
Expand Down

0 comments on commit 3606dc5

Please sign in to comment.