From 4a9c91f9fdd0b46e483197bc31a4b79ed9832f0c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 14 Mar 2023 23:58:17 +0100 Subject: code clenup --- .../at/hannibal2/skyhanni/features/garden/DicerRngDropCounter.kt | 6 +++--- 1 file 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 -- cgit