aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-14 23:58:17 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-14 23:58:17 +0100
commit05394c65b6658670c17224f2aa9352a08160255a (patch)
tree69e131622db184a475e60db3011d3b8c51703f07 /src/main
parentae90ce851f7f55265863a11d52b41c30aa15d89f (diff)
downloadskyhanni-05394c65b6658670c17224f2aa9352a08160255a.tar.gz
skyhanni-05394c65b6658670c17224f2aa9352a08160255a.tar.bz2
skyhanni-05394c65b6658670c17224f2aa9352a08160255a.zip
code clenup
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/DicerRngDropCounter.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/DicerRngDropCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/DicerRngDropCounter.kt
index 1b170bc7f..8547f4d51 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/DicerRngDropCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/DicerRngDropCounter.kt
@@ -90,9 +90,9 @@ class DicerRngDropCounter {
}
private fun addDrop(item: String, rarity: DropRarity) {
- val melon = drops[item]!!
- val old = melon[rarity] ?: 0
- melon[rarity] = old + 1
+ val map = drops[item]!!
+ val old = map[rarity] ?: 0
+ map[rarity] = old + 1
}
@SubscribeEvent