From ad199ec81be5ac4d1f2ce1370159ae14f6477ef8 Mon Sep 17 00:00:00 2001 From: Aemil Estvold Date: Sun, 24 Jul 2016 22:10:31 -0600 Subject: [PATCH] Fix: Decrement cached berry inventory count (fix formatting) --- PokemonGo.RocketAPI.Logic/Logic.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PokemonGo.RocketAPI.Logic/Logic.cs b/PokemonGo.RocketAPI.Logic/Logic.cs index ecf3fba7a..755e435f9 100644 --- a/PokemonGo.RocketAPI.Logic/Logic.cs +++ b/PokemonGo.RocketAPI.Logic/Logic.cs @@ -725,6 +725,7 @@ public async Task UseBerry(ulong encounterId, string spawnPointId) return; await _client.UseCaptureItem(encounterId, ItemId.ItemRazzBerry, spawnPointId); + berry.Count--; Logger.Write($"Used, remaining: {berry.Count}", LogLevel.Berry); await Task.Delay(3000); }