From c36cec3e929a5b88bea843886896817c6d9e6721 Mon Sep 17 00:00:00 2001 From: William Date: Fri, 24 Mar 2023 01:42:17 +0000 Subject: [PATCH] Fix command descriptions being sometimes wrongly truncated --- .../src/main/java/net/william278/huskhomes/command/Command.java | 1 - 1 file changed, 1 deletion(-) diff --git a/common/src/main/java/net/william278/huskhomes/command/Command.java b/common/src/main/java/net/william278/huskhomes/command/Command.java index 9d1c7abe..a9e0a6b9 100644 --- a/common/src/main/java/net/william278/huskhomes/command/Command.java +++ b/common/src/main/java/net/william278/huskhomes/command/Command.java @@ -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()); }