13
0
geforkt von Mirrors/Velocity
Dieser Commit ist enthalten in:
Andrew Steinborn 2018-11-04 10:45:55 -05:00
Ursprung 70726bd07b
Commit 73e3e1752a

Datei anzeigen

@ -11,12 +11,10 @@ import com.velocitypowered.api.plugin.PluginDescription;
import com.velocitypowered.api.proxy.ProxyServer; import com.velocitypowered.api.proxy.ProxyServer;
import com.velocitypowered.api.util.ProxyVersion; import com.velocitypowered.api.util.ProxyVersion;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import java.util.stream.Stream;
import net.kyori.text.Components; import net.kyori.text.Components;
import net.kyori.text.TextComponent; import net.kyori.text.TextComponent;
import net.kyori.text.event.ClickEvent; import net.kyori.text.event.ClickEvent;
@ -194,7 +192,7 @@ public class VelocityCommand implements Command {
if (description.getAuthors().size() == 1) { if (description.getAuthors().size() == 1) {
hoverText.append(TextComponent.of("Author: " + description.getAuthors().get(0))); hoverText.append(TextComponent.of("Author: " + description.getAuthors().get(0)));
} else { } else {
hoverText.append(TextComponent.of("Author: " + Joiner.on(", ") hoverText.append(TextComponent.of("Authors: " + Joiner.on(", ")
.join(description.getAuthors()))); .join(description.getAuthors())));
} }
} }