aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
index b1a02132f..6ddabd2f5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
@@ -187,9 +187,9 @@ object GardenVisitorDropStatistics {
// Adding the mythic rarity between legendary and special, if missing
private fun fixRaritiesSize(list: MutableList<Long>) {
if (list.size == 4) {
- val legendary = list.last()
+ val special = list.last()
list[3] = 0L
- list.add(legendary)
+ list.add(special)
}
}