Skip to content

Commit

Permalink
actually fixing 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 2c4db83 commit 02d1ff6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Advisor/AdvisorPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ public void OnUpdate()
{
}

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

public Version Version => new Version(1, 3, 4);
public async Task CheckForUpdate()
{
var latest = await Github.CheckForUpdate("icetbr", "Advisor", Version);
Expand Down
2 changes: 1 addition & 1 deletion Advisor/ExtensionMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +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;
if (infos.Length <= 1) 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.3.0")]
[assembly: AssemblyFileVersion("1.3.3.0")]
[assembly: AssemblyVersion("1.3.4.0")]
[assembly: AssemblyFileVersion("1.3.4.0")]

0 comments on commit 02d1ff6

Please sign in to comment.