Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Plural.
Dieser Commit ist enthalten in:
Ursprung
70726bd07b
Commit
73e3e1752a
@ -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())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren