From 6b22219cd5f1f25455a15999e23b75bba820fdb7 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sat, 3 Oct 2020 21:27:35 +0200 Subject: [PATCH] Remove unnecessary space for provided plugins, fixes #4608 --- ...necessary-space-for-provided-plugins.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Spigot-API-Patches/0229-Remove-unnecessary-space-for-provided-plugins.patch diff --git a/Spigot-API-Patches/0229-Remove-unnecessary-space-for-provided-plugins.patch b/Spigot-API-Patches/0229-Remove-unnecessary-space-for-provided-plugins.patch new file mode 100644 index 000000000..aa89f17a9 --- /dev/null +++ b/Spigot-API-Patches/0229-Remove-unnecessary-space-for-provided-plugins.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aurora +Date: Sat, 3 Oct 2020 21:26:01 +0200 +Subject: [PATCH] Remove unnecessary space for provided plugins + + +diff --git a/src/main/java/org/bukkit/command/defaults/PluginsCommand.java b/src/main/java/org/bukkit/command/defaults/PluginsCommand.java +index fd74512a2bbbb0f198192b450e09bdbb9bac248d..9e17a107947c401936ab0550508dd6fb93415d81 100644 +--- a/src/main/java/org/bukkit/command/defaults/PluginsCommand.java ++++ b/src/main/java/org/bukkit/command/defaults/PluginsCommand.java +@@ -54,7 +54,7 @@ public class PluginsCommand extends BukkitCommand { + Plugin plugin = entry.getValue(); + + if (plugin.getDescription().getProvides().size() > 0) { +- pluginList.append(" (").append(String.join(", ", plugin.getDescription().getProvides())).append(")"); ++ pluginList.append("(").append(String.join(", ", plugin.getDescription().getProvides())).append(")"); // Paper - Remove unnecessary space + } + +