aboutsummaryrefslogtreecommitdiff
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
commit4a9c91f9fdd0b46e483197bc31a4b79ed9832f0c (patch)
tree69e131622db184a475e60db3011d3b8c51703f07
parent87daf976bb0b4bb9274a4a5e51537e78fe5bad03 (diff)
downloadSkyHanni-4a9c91f9fdd0b46e483197bc31a4b79ed9832f0c.tar.gz
SkyHanni-4a9c91f9fdd0b46e483197bc31a4b79ed9832f0c.tar.bz2
SkyHanni-4a9c91f9fdd0b46e483197bc31a4b79ed9832f0c.zip
code clenup
-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