diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-08 03:59:29 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-08 03:59:29 +0100 |
commit | ea6e6f286ec92245c5ef5367b40e0aad5881963a (patch) | |
tree | 51c8242a2cb541625adf704254ed05f2b4ddd736 | |
parent | ebaa495a32990d89690b0906431c97028a81ea22 (diff) | |
download | skyhanni-ea6e6f286ec92245c5ef5367b40e0aad5881963a.tar.gz skyhanni-ea6e6f286ec92245c5ef5367b40e0aad5881963a.tar.bz2 skyhanni-ea6e6f286ec92245c5ef5367b40e0aad5881963a.zip |
Added Chicken head Timer
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt | 4 |
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)" } } } |