From 0558cb4a09f7305ee582cfc47bbc7f6acf2f6f9b Mon Sep 17 00:00:00 2001 From: simplyphp Date: Tue, 2 Aug 2016 16:58:43 -0500 Subject: [PATCH] Using development instead of prod rawgit for version checking --- PoGo.NecroBot.Logic/Inventory.cs | 2 +- PoGo.NecroBot.Logic/State/VersionCheckState.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PoGo.NecroBot.Logic/Inventory.cs b/PoGo.NecroBot.Logic/Inventory.cs index 5a69c35bc..53a5043a9 100644 --- a/PoGo.NecroBot.Logic/Inventory.cs +++ b/PoGo.NecroBot.Logic/Inventory.cs @@ -119,7 +119,7 @@ public async Task> GetDuplicatePokemonToTransfer( var transferrablePokemonTypeCount = pokemonFiltered.Where(p => p.PokemonId == pokemon.Key).Count(); var currentPokemonTypeCount = myPokemon.Where(p => p.PokemonId == pokemon.Key).Count(); var currentlyKeepingPokemonType = currentPokemonTypeCount - transferrablePokemonTypeCount; - + if (currentlyKeepingPokemonType > GetPokemonTransferFilter(pokemon.Key).KeepMinDuplicatePokemon) { amountToSkip = 0; diff --git a/PoGo.NecroBot.Logic/State/VersionCheckState.cs b/PoGo.NecroBot.Logic/State/VersionCheckState.cs index ce7f16979..7be26884a 100644 --- a/PoGo.NecroBot.Logic/State/VersionCheckState.cs +++ b/PoGo.NecroBot.Logic/State/VersionCheckState.cs @@ -21,7 +21,7 @@ namespace PoGo.NecroBot.Logic.State public class VersionCheckState : IState { public const string VersionUri = - "https://cdn.rawgit.com/NECROBOTIO/NecroBot/master/PoGo.NecroBot.Logic/Properties/AssemblyInfo.cs"; + "https://rawgit.com/NECROBOTIO/NecroBot/master/PoGo.NecroBot.Logic/Properties/AssemblyInfo.cs"; public const string LatestReleaseApi = "https://api.github.com/repos/NECROBOTIO/NecroBot/releases/latest";