aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/garden
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-03 20:31:18 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-03 20:31:18 +0200
commit76be6ad6de39c7078550394e8ec24a494ddb3bcc (patch)
tree0a870475fa6ece58f31fdbc40c411cd2a16ee2e3 /src/main/java/at/hannibal2/skyhanni/features/garden
parent7a6f576cbea6e37aeda014df40cfce69a0109a6c (diff)
downloadskyhanni-76be6ad6de39c7078550394e8ec24a494ddb3bcc.tar.gz
skyhanni-76be6ad6de39c7078550394e8ec24a494ddb3bcc.tar.bz2
skyhanni-76be6ad6de39c7078550394e8ec24a494ddb3bcc.zip
renamed variable for consistency
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt
index b62eeb56b..49d38d7ba 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt
@@ -109,9 +109,9 @@ object DicerRngDropTracker {
}
}
- private fun drawDisplay(storage: Data) = buildList<List<Any>> {
+ private fun drawDisplay(data: Data) = buildList<List<Any>> {
val cropInHand = cropInHand ?: return@buildList
- val items = storage.drops.getOrPut(cropInHand) { mutableMapOf() }
+ val items = data.drops.getOrPut(cropInHand) { mutableMapOf() }
addAsSingletonList("§7Dicer RNG Drop Tracker for $toolName§7:")
for ((rarity, amount) in items.sortedDesc()) {
val displayName = rarity.displayName