Skip to content

Commit c72aef0

Browse files
fix: color the kuudra key as red in Kuudra Chest Profit
1 parent fe57d44 commit c72aef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/gg/skytils/skytilsmod/features/impl/crimson/KuudraChestProfit.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ object KuudraChestProfit {
116116
)
117117

118118
for (item in chest.items) {
119-
val line = "§8${item.stackSize} §r".toStringIfTrue(item.stackSize > 1) + item.displayText + "§f: §a" + NumberUtil.nf.format(item.value)
119+
val line = "§8${item.stackSize} §r".toStringIfTrue(item.stackSize > 1) + item.displayText + "§f: §${if (item.value >= 0) 'a' else 'c'}" + NumberUtil.nf.format(item.value)
120120
ScreenRenderer.fontRenderer.drawString(
121121
line,
122122
if (leftAlign) element.scaleX else element.scaleX + element.width,

0 commit comments

Comments
 (0)