diff --git a/src/main/java/com/pokegoapi/api/map/Map.java b/src/main/java/com/pokegoapi/api/map/Map.java index cd7d4cb6..4bf93330 100644 --- a/src/main/java/com/pokegoapi/api/map/Map.java +++ b/src/main/java/com/pokegoapi/api/map/Map.java @@ -489,7 +489,7 @@ public List getCellIds(double latitude, double longitude, int width) { * @param lat the lat * @return the fort details */ - public PokemonFuture getFortDetailsAsync(String id, long lon, long lat) { + public PokemonFuture getFortDetailsAsync(String id, double lon, double lat) { FortDetailsMessage reqMsg = FortDetailsMessage.newBuilder() .setFortId(id) .setLatitude(lat) @@ -523,7 +523,7 @@ protected FortDetails handle(ByteString byteString) throws RemoteServerException * @throws LoginFailedException the login failed exception * @throws RemoteServerException the remote server exception */ - public FortDetails getFortDetails(String id, long lon, long lat) + public FortDetails getFortDetails(String id, double lon, double lat) throws LoginFailedException, RemoteServerException { return getFortDetailsAsync(id, lon, lat).toBlocking(); }