aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-08 03:59:29 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-08 03:59:29 +0100
commitbcfa56adac098a753c98bd448e3cf8a52bb60e0b (patch)
tree51c8242a2cb541625adf704254ed05f2b4ddd736
parent718128b2e9f3c0eb26ee2fb57e3cd2338b951970 (diff)
downloadSkyHanni-bcfa56adac098a753c98bd448e3cf8a52bb60e0b.tar.gz
SkyHanni-bcfa56adac098a753c98bd448e3cf8a52bb60e0b.tar.bz2
SkyHanni-bcfa56adac098a753c98bd448e3cf8a52bb60e0b.zip
Added Chicken head Timer
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
index 6fbbb7923..5f5b1eea5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
@@ -168,7 +168,7 @@ class GardenVisitorFeatures {
val price = NEUItems.getPrice(internalName) * amount
totalPrice += price
val format = NumberUtil.format(price)
- list[i] = "$line §7(§6$format§7)"
+ list[i+ itemsWithSpeedCounter] = "$line §7(§6$format§7)"
}
itemsCounter++
@@ -199,7 +199,7 @@ class GardenVisitorFeatures {
if (matcher.matches()) {
val coppers = matcher.group(1).replace(",", "").toInt()
val pricePerCopper = NumberUtil.format((totalPrice / coppers).toInt())
- list[i + itemsWithSpeedCounter] = list[i + itemsWithSpeedCounter] + " §7(Copper price §6$pricePerCopper§7)"
+ list[i + itemsWithSpeedCounter] = "$line §7(Copper price §6$pricePerCopper§7)"
}
}
}