aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-08-08 20:11:30 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-08-08 20:11:30 +0200
commit212d0c13382de90c252c82b7ad5722750fbfe9b9 (patch)
tree0070c166b54e440ffa8ad2dc04946a5d1a148ce0 /src/main
parentd55688322b0a79adca15d9a3bb0bf66970293874 (diff)
downloadskyhanni-212d0c13382de90c252c82b7ad5722750fbfe9b9.tar.gz
skyhanni-212d0c13382de90c252c82b7ad5722750fbfe9b9.tar.bz2
skyhanni-212d0c13382de90c252c82b7ad5722750fbfe9b9.zip
formatting
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FarmingItems.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FarmingItems.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FarmingItems.kt
index b46d6ebe4..bdfe98abf 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FarmingItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/FarmingItems.kt
@@ -142,10 +142,10 @@ enum class FarmingItems(
fun getArmorDisplay(clickEnabled: Boolean = false): List<Renderable> = armor.map { it.getDisplay(clickEnabled) }
- fun getEquipmentDisplay(clickEnabled: Boolean = false): List<Renderable> =
- equip.map { it.getDisplay(clickEnabled) }
+ fun getEquipmentDisplay(clickEnabled: Boolean = false): List<Renderable> = equip.map { it.getDisplay(clickEnabled) }
fun getPetsDisplay(clickEnabled: Boolean = false): List<Renderable> = pets.map { it.getDisplay(clickEnabled) }
+
fun resetClickState() {
entries.filterNot { pets.contains(it) }.forEach { it.selectedState = false }
}