From 32e7f4704fe2639314451e39c32741a1900907c0 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Wed, 5 Apr 2023 04:16:01 +1000 Subject: Change neustats back to only using modname instead of full path (#659) change neustats back to only using modname instead of full path --- .../github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/io') 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 } -- cgit