Skip to content

Commit d338a53

Browse files
committed
typo 2
1 parent 1b9a97f commit d338a53

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

library/src/main/java/com/pokegoapi/api/map/fort/Pokestop.java

+10-9
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ public boolean hasLurePokemon() {
4747
return fortData.hasLureInfo() && fortData.getLureInfo().getLureExpiresTimestampMs() > api.startTime;
4848
}
4949

50+
/**
51+
* Returns whether or not the lured pokemon is in range.
52+
*
53+
* @return true when the lured pokemon is in range of player
54+
*/
55+
public boolean inRangeForLuredPokemon() {
56+
return getDistance() <= api.settings.mapSettings.pokemonVisibilityRange;
57+
}
58+
5059
/**
5160
* Returns whether this pokestop has an active lure when detected on map.
5261
*
@@ -60,15 +69,6 @@ public boolean hasLure() {
6069
}
6170
}
6271

63-
/**
64-
* Returns whether or not the lured pokemon is in range.
65-
*
66-
* @return true when the lured pokemon is in range of player
67-
*/
68-
public boolean inRangeForLuredPokemon() {
69-
return getDistance() <= api.settings.mapSettings.pokemonVisibilityRange;
70-
}
71-
7272
/**
7373
* Returns whether this pokestop has an active lure.
7474
*
@@ -86,6 +86,7 @@ public boolean hasLure(boolean updateFortDetails) throws RequestFailedException
8686
}
8787
return false;
8888
}
89+
8990
return fortData.getActiveFortModifierList().contains(ItemIdOuterClass.ItemId.ITEM_TROY_DISK);
9091
}
9192

library/src/main/java/com/pokegoapi/api/map/fort/Raid.java

+7
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ public class Raid {
2929
@Getter
3030
private final RaidInfo raidInfo;
3131

32+
/**
33+
* Raid Constructor.
34+
*
35+
* @param api set api
36+
* @param gym set gym
37+
* @param raidInfo set raidInfo
38+
*/
3239
public Raid(PokemonGo api, Gym gym, RaidInfo raidInfo) {
3340
this.api = api;
3441
this.gym = gym;

library/src/main/java/com/pokegoapi/auth/PtcAuthError.java

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* You should have received a copy of the GNU General Public License
1313
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1414
*/
15+
1516
package com.pokegoapi.auth;
1617

1718
import lombok.Getter;

library/src/main/java/com/pokegoapi/util/MapPoint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public interface MapPoint {
2525
*
2626
* @return the latitude
2727
*/
28-
double getLatitude();
28+
double getLatitude();
2929

3030
/**
3131
* Gets longitude.

0 commit comments

Comments
 (0)