mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 00:42:05 +01:00
Fix command description not being set
By: md_5 <git@md-5.net>
This commit is contained in:
parent
b294ce797b
commit
5f8c960c7c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue