3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

Remove redundant ternary here.

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-10-25 02:09:35 -04:00
Ursprung bdaf6da61b
Commit a0e24ca247

Datei anzeigen

@ -87,7 +87,7 @@ public class VelocityCommand implements Command {
TextComponent velocity = TextComponent.builder(implName + " ") TextComponent velocity = TextComponent.builder(implName + " ")
.decoration(TextDecoration.BOLD, true) .decoration(TextDecoration.BOLD, true)
.color(TextColor.DARK_AQUA) .color(TextColor.DARK_AQUA)
.append(TextComponent.of(implVersion == null ? "<unknown>" : implVersion).decoration(TextDecoration.BOLD, false)) .append(TextComponent.of(implVersion).decoration(TextDecoration.BOLD, false))
.build(); .build();
TextComponent copyright = TextComponent.of("Copyright 2018 " + implVendor + ". " + implName + " is freely licensed under the terms of the " + TextComponent copyright = TextComponent.of("Copyright 2018 " + implVendor + ". " + implName + " is freely licensed under the terms of the " +
"MIT License."); "MIT License.");