Fix command descriptions being sometimes wrongly truncated

This commit is contained in:
William committed 2023-03-24 01:42:17 +00:00
1 parent 2c892afee7
commit c36cec3e92
1 file changed
-1
@@ -55,7 +55,6 @@ public abstract class Command extends Node {
@NotNull
public String getDescription() {
return plugin.getLocales().getRawLocale(getName() + "_command_description")
.map(description -> plugin.getLocales().truncateText(description, 40))
.orElse(getUsage());
}