mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Fix command descriptions being sometimes wrongly truncated
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user