mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
refactor: Move to ConfigLib, use lombok (#563)
* refactor: move to configlib, adjust config structure * fix: huskclaims typos * fix: don't generate `server.yml` in local mode * fix: NPE with server name
This commit is contained in:
1 parent
c55631a30d
commit
1723aa44fc
84 files changed
+4334
-4832
No files matched your search
@@ -157,11 +157,11 @@ public class EditWarpCommand extends SavedPositionCommand<Warp> {
|
||||
if (!warp.getMeta().getDescription().isEmpty()) {
|
||||
plugin.getLocales().getLocale("edit_warp_menu_description",
|
||||
plugin.getLocales().truncateText(warp.getMeta().getDescription(), 50),
|
||||
plugin.getLocales().wrapText(warp.getMeta().getDescription(), 40))
|
||||
warp.getMeta().getDescription())
|
||||
.ifPresent(messages::add);
|
||||
}
|
||||
|
||||
if (!plugin.getSettings().doCrossServer()) {
|
||||
if (!plugin.getSettings().getCrossServer().isEnabled()) {
|
||||
plugin.getLocales().getLocale("edit_warp_menu_world",
|
||||
warp.getWorld().getName()).ifPresent(messages::add);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user