Skip to content

Commit 89697f2

Browse files
authored
Update the protobuf dependency (#235)
Includes fix for hatched eggs IndexOutOfBoundsException
1 parent 3543350 commit 89697f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/pokegoapi/api/map/pokemon/CatchablePokemon.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public CatchItemResult useItem(ItemId item) throws LoginFailedException, RemoteS
383383
UseItemCaptureMessage reqMsg = UseItemCaptureMessage
384384
.newBuilder()
385385
.setEncounterId(this.getEncounterId())
386-
.setSpawnPointGuid(this.getSpawnPointId())
386+
.setSpawnPointId(this.getSpawnPointId())
387387
.setItemId(item)
388388
.build();
389389

src/resources/protobuf

Submodule protobuf updated 50 files

0 commit comments

Comments
 (0)