3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +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 + " ")
.decoration(TextDecoration.BOLD, true)
.color(TextColor.DARK_AQUA)
.append(TextComponent.of(implVersion == null ? "<unknown>" : implVersion).decoration(TextDecoration.BOLD, false))
.append(TextComponent.of(implVersion).decoration(TextDecoration.BOLD, false))
.build();
TextComponent copyright = TextComponent.of("Copyright 2018 " + implVendor + ". " + implName + " is freely licensed under the terms of the " +
"MIT License.");