Skip to content

Commit a45e7f7

Browse files
committed
Adjusted formatting of updates command
1 parent c858f09 commit a45e7f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ tasks {
9090
minecraftVersion("1.21")
9191

9292
downloadPlugins {
93-
modrinth("viaversion", "5.0.3") // ViaVersion
94-
modrinth("viabackwards", "5.0.3") // ViaBackwards
93+
modrinth("viaversion", "5.4.2") // ViaVersion
94+
modrinth("viabackwards", "5.4.2") // ViaBackwards
9595
// The following plugins are intentionally outdated for testing purposes
9696
modrinth("djC8I9ui", "3.2.0") // LushRewards
9797
modrinth("discordsrv", "1.27.0") // DiscordSRV

src/main/java/org/lushplugins/pluginupdater/command/UpdatesCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public String updates() {
4242
.toList();
4343

4444
if (!plugins.isEmpty()) {
45-
return String.join("&7, ", plugins);
45+
return "&fRegistered Plugins (%s):\n%s".formatted(plugins.size(), String.join("&7, ", plugins));
4646
} else {
4747
return "&#ff6969Could not find any registered plugins in PluginUpdater";
4848
}

0 commit comments

Comments
 (0)