From a0e24ca247f9462b57a6866927e7d5c52edd1753 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 25 Oct 2018 02:09:35 -0400 Subject: [PATCH] Remove redundant ternary here. --- .../java/com/velocitypowered/proxy/command/VelocityCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java index 54837598d..cabdac9af 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java @@ -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 ? "" : 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.");