Skip to content

Commit 34d6247

Browse files
fix: print trophy fish list as lines and not list
1 parent ce8af8f commit 34d6247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/gg/skytils/skytilsmod/commands/impl/TrophyFishCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ object TrophyFishCommand : StatCommand("trophy", aliases = listOf("tf", "trophyf
3939
withContext(Dispatchers.MC) {
4040
if (trophyFishData == null) {
4141
printMessage("${Skytils.failPrefix} §cFailed to retrieve trophy fish data for ${username}.")
42-
} else printMessage("${Skytils.prefix} §bTrophy Fish for $username\n${TrophyFish.generateTrophyFishList(trophyFishData)}")
42+
} else printMessage("${Skytils.prefix} §bTrophy Fish for $username\n${TrophyFish.generateTrophyFishList(trophyFishData).joinToString("\n")}")
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)