Skip to content

Commit

Permalink
Fix: Fishing Timer (hannibal002#2365)
Browse files Browse the repository at this point in the history
Co-authored-by: hannibal2 <[email protected]>
Co-authored-by: Empa <[email protected]>
  • Loading branch information
3 people authored Aug 17, 2024
1 parent f34dff0 commit c5c6471
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ object FishingTimer {
}

private fun updateInfo() {
currentCount = mobDespawnTime.entries.sumOf {
1 + it.key.extraEntities.size
}
currentCount = mobDespawnTime.size
startTime = mobDespawnTime.maxByOrNull { it.value.passedSince() }?.value ?: SimpleTimeMark.farPast()
display = createDisplay()
}
Expand Down

0 comments on commit c5c6471

Please sign in to comment.