Fixed type for method,. (#16)
Fixed type for method,. (#16)
diff --git a/PokemonGo/RocketAPI/Console/Program.cs b/PokemonGo/RocketAPI/Console/Program.cs
index 307be0d..ec99642 100644
--- a/PokemonGo/RocketAPI/Console/Program.cs
+++ b/PokemonGo/RocketAPI/Console/Program.cs
@@ -90,7 +90,7 @@ namespace PokemonGo.RocketAPI.Console
}
}
- private static string GetFriendlyPokemonName(int id)
+ private static string GetFriendlyPokemonName(MapObjectsResponse.Types.Payload.Types.PokemonIds id)
{
var name = Enum.GetName(typeof (InventoryResponse.Types.PokemonProto.Types.PokemonIds), id);
return name?.Substring(name.IndexOf("Pokemon") + 7);
You may download the files in Public Git.