aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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