Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Dec 4, 2023
1 parent ace215c commit 6d1a636
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class DungeonMilestonesDisplay {
var currentMilestone = 0
var timeReached = 0L

fun isMilestoneMessage(message: String): Boolean =
milestonePatternList.any { it.matches(message) }
fun isMilestoneMessage(message: String): Boolean = milestonePatternList.any { it.matches(message) }
}

init {
fixedRateTimer(name = "skyhanni-dungeon-milestone-display", period = 200) {
if (!isEnabled()) return@fixedRateTimer
checkVisibility()
if (isEnabled()) {
checkVisibility()
}
}
}

Expand Down

0 comments on commit 6d1a636

Please sign in to comment.