aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-16 20:31:04 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-16 20:31:04 +0100
commit07351036391533533cd059ef6910c6bc1efeb36f (patch)
tree723c655ac358227b98548a4e81f1eafd00636265 /src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
parent67011d64534f855959ab33abc56e83eec713e924 (diff)
downloadskyhanni-07351036391533533cd059ef6910c6bc1efeb36f.tar.gz
skyhanni-07351036391533533cd059ef6910c6bc1efeb36f.tar.bz2
skyhanni-07351036391533533cd059ef6910c6bc1efeb36f.zip
Show copper to coin prices inside the Sky Mart inventory.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
index ca79b2418..a72483cb1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
@@ -460,7 +460,7 @@ object RenderUtils {
if (list.isEmpty()) return
var offsetY = 0
- for (s in list) {
+ for (s in list.toMutableList()) {
renderString(s, offsetY = offsetY, center = center)
offsetY += 10 + extraSpace
}