aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-04-05 04:16:01 +1000
committerGitHub <noreply@github.com>2023-04-04 20:16:01 +0200
commit32e7f4704fe2639314451e39c32741a1900907c0 (patch)
tree6f18f05817ce2739c9987d84e43dc3061c743d13 /src/main
parent2c38bbcd4ab32709a0b300e4a2000c2dd9c2ca9d (diff)
downloadNotEnoughUpdates-32e7f4704fe2639314451e39c32741a1900907c0.tar.gz
NotEnoughUpdates-32e7f4704fe2639314451e39c32741a1900907c0.tar.bz2
NotEnoughUpdates-32e7f4704fe2639314451e39c32741a1900907c0.zip
Change neustats back to only using modname instead of full path (#659)
change neustats back to only using modname instead of full path
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt
index 08869032..2bc8ae6f 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt
@@ -174,7 +174,7 @@ class NEUStatsCommand {
private fun appendModList(builder: DiscordMarkdownBuilder): DiscordMarkdownBuilder {
builder.category("Mods Loaded")
Loader.instance().activeModList.forEach {
- builder.append(it.name, "${it.source} (${it.displayVersion})")
+ builder.append(it.name, "${it.source.name} (${it.displayVersion})")
}
return builder
}