Skip to content

Commit

Permalink
fix: print trophy fish list as lines and not list
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Feb 16, 2024
1 parent ce8af8f commit 34d6247
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object TrophyFishCommand : StatCommand("trophy", aliases = listOf("tf", "trophyf
withContext(Dispatchers.MC) {
if (trophyFishData == null) {
printMessage("${Skytils.failPrefix} §cFailed to retrieve trophy fish data for ${username}.")
} else printMessage("${Skytils.prefix} §bTrophy Fish for $username\n${TrophyFish.generateTrophyFishList(trophyFishData)}")
} else printMessage("${Skytils.prefix} §bTrophy Fish for $username\n${TrophyFish.generateTrophyFishList(trophyFishData).joinToString("\n")}")
}
}
}
Expand Down

0 comments on commit 34d6247

Please sign in to comment.