aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 02:23:36 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 02:23:36 +0100
commitf7986d34c8a9de227ffd776ef8cbf80b90ec7398 (patch)
tree76c787955025f20adf3e147b10141b2105b735cd
parentc70564086474974506698fe5bcb228dd1ec62b3f (diff)
downloadskyhanni-f7986d34c8a9de227ffd776ef8cbf80b90ec7398.tar.gz
skyhanni-f7986d34c8a9de227ffd776ef8cbf80b90ec7398.tar.bz2
skyhanni-f7986d34c8a9de227ffd776ef8cbf80b90ec7398.zip
fixed wrong word
-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)
}
}