mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
Remove unnecessary space for provided plugins, fixes #4608
This commit is contained in:
parent
3ece90368d
commit
6b22219cd5
@ -0,0 +1,19 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Aurora <aurora@relanet.eu>
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user