Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Sep 20, 2024
1 parent 293b3ae commit 1fd8bdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,8 @@ object HoppityCollectionStats {
strayRabbit to HighlightRabbitTypes.STRAYS,
)

private fun missingRabbitStackNeedsFix(stack: ItemStack): Boolean {
return stack.item == Items.dye && (
stack.metadata == 8 || stack.getLore().any { it.lowercase().contains("milestone") }
)
}
private fun missingRabbitStackNeedsFix(stack: ItemStack): Boolean =
stack.item == Items.dye && (stack.metadata == 8 || stack.getLore().any { it.lowercase().contains("milestone") })

private val replacementCache: MutableMap<String, ItemStack> = mutableMapOf()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent
import at.hannibal2.skyhanni.events.RepositoryReloadEvent
import at.hannibal2.skyhanni.features.event.hoppity.HoppityCollectionStats
import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule
import at.hannibal2.skyhanni.utils.ChatUtils
import at.hannibal2.skyhanni.utils.CollectionUtils.nextAfter
import at.hannibal2.skyhanni.utils.DelayedRun
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
Expand Down

0 comments on commit 1fd8bdc

Please sign in to comment.