Fix command description not being set

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-03-18 10:34:39 +11:00
parent b294ce797b
commit 5f8c960c7c

View file

@ -370,7 +370,7 @@ public abstract class Command {
*/
@NotNull
public Command setDescription(@NotNull String description) {
this.description = description == null ? "" : "";
this.description = (description == null) ? "" : description;
return this;
}