From ea6e6f286ec92245c5ef5367b40e0aad5881963a Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 8 Mar 2023 03:59:29 +0100 Subject: Added Chicken head Timer --- .../at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') 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)" } } } -- cgit