aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFifthTundraG <117035030+FifthTundraG@users.noreply.github.com>2024-05-13 00:03:06 -0400
committerGitHub <noreply@github.com>2024-05-13 00:03:06 -0400
commitc8301eb4ff79d90b28ba6ea768f4adf575eba06d (patch)
treed93fdbe81ea4864e69953c2e53d5712aeb6f3336
parent20c515c9baed83384fbedabb6a581400a4a7c1ef (diff)
downloadNotEnoughUpdates-c8301eb4ff79d90b28ba6ea768f4adf575eba06d.tar.gz
NotEnoughUpdates-c8301eb4ff79d90b28ba6ea768f4adf575eba06d.tar.bz2
NotEnoughUpdates-c8301eb4ff79d90b28ba6ea768f4adf575eba06d.zip
meta: Fix /neupronouns output to condense to a single line (#1170)
Improve /neupronouns output
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/MiscCommands.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/MiscCommands.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/MiscCommands.kt
index 70a72342..ba325e11 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/MiscCommands.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/MiscCommands.kt
@@ -153,9 +153,7 @@ class MiscCommands {
nc.printChatMessageWithOptionalDeletion(
ChatComponentText("§e[NEU] Pronouns for §b$user §eon §b$platform§e:"), id
)
- betterPronounChoice.render().forEach {
- nc.printChatMessage(ChatComponentText("§e[NEU] §a$it"))
- }
+ nc.printChatMessage(ChatComponentText("§e[NEU] §a${betterPronounChoice.render()}"))
null
}, MinecraftExecutor.OffThread)