Qudyjac
Qudyjac
It is not possible to use berries when catching a pokemon. encounter.useItem always returns ACTIVE_ITEM_EXISTS You can check this with the CatchPokemonAtEreaExample I changed line 178 from encounter.useItem(ItemId.ITEM_RAZZ_BERRY); to System.out.println(encounter.useItem(ItemId.ITEM_RAZZ_BERRY).toString());...
**Description:** On subsequent throws ( in case of CATCH_ESCAPE ) no berries can be used because activeItem is not null. **Change:** file: Encounter.java line 150 ff try { CatchPokemonResponse response...
**Description:** When reaching the next level, a InsufficientLevelException is thrown. **Stacktrace (If it's a crash):** Exception in thread "Async HTTP Thread" com.pokegoapi.exceptions.InsufficientLevelException at com.pokegoapi.api.player.PlayerProfile.acceptLevelUpRewards(PlayerProfile.java:217) at com.pokegoapi.api.player.PlayerProfile.setStats(PlayerProfile.java:386) at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:179) at com.pokegoapi.main.CommonRequests.handleCommons(CommonRequests.java:135)...