mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Adjust description formatting, remove default descriptions, add item_no_description locale
This commit is contained in:
1 parent
12020ca70a
commit
22ba7b4cf0
7 files changed
+36
-20
No files matched your search
@@ -174,7 +174,7 @@ public class EditWarpCommand extends CommandBase implements TabCompletable, Cons
|
||||
plugin.getLocales().getLocale("edit_warp_menu_description",
|
||||
warp.meta.description.length() > 50
|
||||
? warp.meta.description.substring(0, 49).trim() + "…" : warp.meta.description,
|
||||
String.join("\n", warp.meta.description.split("(?<=\\G.{40,}\\s)")))
|
||||
plugin.getLocales().formatDescription(warp.meta.description))
|
||||
.ifPresent(this::add);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user