diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-26 17:11:57 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-26 17:11:57 +0100 |
commit | 5a710d5101cd24371f3476c837b1a24f83454803 (patch) | |
tree | 375c9cdfc87dec06b931fc87abbf5a2d06163211 /src/main/java/at/hannibal2/skyhanni | |
parent | ec40d26903ef256cea3175693038400e64981f1b (diff) | |
download | skyhanni-5a710d5101cd24371f3476c837b1a24f83454803.tar.gz skyhanni-5a710d5101cd24371f3476c837b1a24f83454803.tar.bz2 skyhanni-5a710d5101cd24371f3476c837b1a24f83454803.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt index d976eb056..4785c0da2 100644 --- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt +++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/GuiIngameHook.kt @@ -40,9 +40,7 @@ private fun replaceString(text: String): String? { " §7(§4${pests}ൠ§7)" } else "" val name = plot?.let { - if (it.isBarn()) { - "§aThe Barn" - } else "§b" + it.name + if (it.isBarn()) "§aThe Barn" else "§b" + it.name } ?: "§aGarden §cOutside" return " §7⏣ $name$pestSuffix" } |