aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt
index cd8f367dd..1a6bdfe66 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishMessages.kt
@@ -58,7 +58,7 @@ class TrophyFishMessages {
edited = ChatComponentText(
"§6§lTROPHY FISH! " + when (config.design) {
DesignFormat.STYLE_1 -> if (amount == 1) "§c§lFIRST §r$displayRarity $displayName"
- else "§7$amount. §r$displayRarity $displayName"
+ else "§7$amount${amount.ordinal()} §r$displayRarity $displayName"
DesignFormat.STYLE_2 -> "§bYou caught a $displayName $displayRarity§b. §7(${amount.addSeparators()})"
else -> "§bYou caught your ${amount.addSeparators()}${amount.ordinal()} $displayRarity $displayName§b."
@@ -68,7 +68,8 @@ class TrophyFishMessages {
if (config.totalAmount) {
val total = trophyFishCounts.sumAllValues()
- edited.appendSibling(ChatComponentText(" §7(${total.addSeparators()}. total)"))
+
+ edited.appendSibling(ChatComponentText(" §7(${total.addSeparators()}${total.ordinal()} total)"))
}
if (config.tooltip) {