Skip to content

Commit

Permalink
Use properties
Browse files Browse the repository at this point in the history
  • Loading branch information
searica committed Nov 14, 2024
1 parent eb6884d commit 3efa781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JotunnLib/Utils/ModCompatibility/ModuleVersionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public override string ToString()

foreach (var mod in Modules)
{
sb.AppendLine($"{mod.name} {mod.GetVersionString()} {mod.compatibilityLevel} {mod.versionStrictness}");
sb.AppendLine($"{mod.ModName} {mod.GetVersionString()} {mod.CompatibilityLevel} {mod.VersionStrictness}");
}

return sb.ToString();
Expand Down Expand Up @@ -195,7 +195,7 @@ public string ToString(bool showEnforce)

foreach (var mod in Modules)
{
sb.AppendLine($"{mod.ModName} {mod.GetVersionString()}" + (showEnforce ? $" {mod.compatibilityLevel} {mod.versionStrictness}" : ""));
sb.AppendLine($"{mod.ModName} {mod.GetVersionString()}" + (showEnforce ? $" {mod.CompatibilityLevel} {mod.VersionStrictness}" : ""));
}

return sb.ToString();
Expand Down

0 comments on commit 3efa781

Please sign in to comment.