Skip to content

Commit

Permalink
trying to fix error where plugin keeps turning itself off
Browse files Browse the repository at this point in the history
  • Loading branch information
icetbr committed Jan 31, 2021
1 parent cc0f4b9 commit 2c4db83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Advisor/AdvisorPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void OnUpdate()
{
}

public Version Version => new Version(1, 3, 2);
public Version Version => new Version(1, 3, 3);

public async Task CheckForUpdate()
{
Expand Down
1 change: 1 addition & 0 deletions Advisor/ExtensionMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public static int CountUnion(this Deck thisDeck, IList<Card> cards)
public static int GetPlayedGames(this Deck thisDeck)
{
string[] infos = thisDeck.Note.Split('-');
if (infos.Length <= 0) return 0;
var success = int.TryParse(infos[1], out int result);
return success ? result : 0;
}
Expand Down
4 changes: 2 additions & 2 deletions Advisor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
[assembly: AssemblyVersion("1.3.3.0")]
[assembly: AssemblyFileVersion("1.3.3.0")]

0 comments on commit 2c4db83

Please sign in to comment.