Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Commit

Permalink
Update api remove debug logging (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabbink committed Nov 14, 2016
1 parent 937fd5c commit 374f396
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'ink.abb'
version '0.7.4'
version '0.7.5'

buildscript {
ext {
Expand Down Expand Up @@ -64,7 +64,7 @@ configurations {
dependencies {
//compile files('../PokeGOAPI-Java/library/build/libs/PokeGOAPI-library-all-0.3.0.jar')

compile files('lib/api-0.0.2.jar')
compile files('lib/api-0.0.3.jar')

// TODO: Wait for jitpack to fix itself...
//compile 'com.github.Grover-c13:PokeGOAPI-Java:Development-SNAPSHOT'
Expand Down
Binary file renamed lib/api-0.0.2.jar → lib/api-0.0.3.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/kotlin/ink/abb/pogo/scraper/tasks/UpdateProfile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ class UpdateProfile : Task {
}

for (i in (lastLevelCheck + 1)..bot.api.inventory.playerStats.level) {
Log.magenta("Accepting rewards for level $i...")
//Log.magenta("Accepting rewards for level $i...")
bot.api.queueRequest(LevelUpRewards().withLevel(i)).subscribe {
val result = it.response
if (result.result == LevelUpRewardsResponseOuterClass.LevelUpRewardsResponse.Result.AWARDED_ALREADY) {
if (i > lastLevelCheck) {
Log.magenta("Already accepted awards for level ${i}, updating $lastLevelCheck = $i")
//Log.magenta("Already accepted awards for level ${i}, updating $lastLevelCheck = $i")
lastLevelCheck = i
}
return@subscribe
Expand Down

0 comments on commit 374f396

Please sign in to comment.