Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnmodifiableCollection.addAll error when getting MapObjects #49

Closed
Aphoh opened this issue Jul 19, 2016 · 1 comment
Closed

UnmodifiableCollection.addAll error when getting MapObjects #49

Aphoh opened this issue Jul 19, 2016 · 1 comment

Comments

@Aphoh
Copy link
Collaborator

Aphoh commented Jul 19, 2016

Stacktrace:
java.lang.UnsupportedOperationException
W/System.err: at java.util.Collections$UnmodifiableCollection.addAll(Collections.java:932)
W/System.err: at com.pokegoapi.api.map.MapObjects.addDecimatedSpawnPoints(MapObjects.java:54)
W/System.err: at com.pokegoapi.api.map.Map.getMapObjects(Map.java:127)
W/System.err: at com.pokegoapi.api.map.Map.getMapObjects(Map.java:86)
W/System.err: at com.pokegoapi.api.map.Map.getMapObjects(Map.java:74)
W/System.err: at com.pokegoapi.api.map.Map.getMapObjects(Map.java:43)

Occurs when calling PokemonGo.getMap().getMapObjects(lat, long)

@jabbink
Copy link
Collaborator

jabbink commented Jul 20, 2016

This was a tiny 😯 bug introduced by bec2926 and has been fixed in #46

@jabbink jabbink closed this as completed Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants