We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 514ca68 commit f97ed6eCopy full SHA for f97ed6e
src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt
@@ -38,7 +38,8 @@ private fun replaceString(text: String): String? {
38
val hasPests = text.contains("ൠ")
39
val pestSuffix = if (hasPests) {
40
val pests = text.last().digitToInt()
41
- " §7(§4${pests}ൠ§7)"
+ val color = if (pests >= 4) "§c" else "§6"
42
+ " §7(${color}${pests}ൠ§7)"
43
} else ""
44
val name = plot?.let {
45
if (it.isBarn()) "§aThe Barn" else {
0 commit comments