removed recursiveness because there is no need for
removed recursiveness because there is no need for
This method is called 2 times in the main loop, and there is no need keep calling it recusively. This will lead to performance issues later on.
diff --git a/PokemonGo/RocketAPI/Client.cs b/PokemonGo/RocketAPI/Client.cs
index b045725..3930477 100644
--- a/PokemonGo/RocketAPI/Client.cs
+++ b/PokemonGo/RocketAPI/Client.cs
@@ -490,8 +490,6 @@ namespace PokemonGo.RocketAPI
ColoredConsoleWrite(ConsoleColor.DarkCyan, $"Recycled {item.Count}x {((AllEnum.ItemId)item.Item_).ToString().Substring(4)}");
await Task.Delay(500);
}
- await Task.Delay(_settings.RecycleItemsInterval * 1000);
- RecycleItems(client);
}
public async Task<Response.Types.Unknown6> RecycleItem(AllEnum.ItemId itemId, int amount)
You may download the files in Public Git.