tons of little issues with admin commands. tweaks and bugfixes galore!

This commit is contained in:
Aubri Seebauer committed 2023-04-23 15:21:17 -04:00
1 parent d858c193db
commit 0b2dbbc473
4 files changed
+110 -92

No files matched your search

@@ -686,9 +686,9 @@ public class AdminTabCompletion implements TabCompleter {
if (args.length > 6) {
return empty;
} else {
if (args[5].equalsIgnoreCase("town")) {
if (args[4].equalsIgnoreCase("town")) {
return NameUtil.filterByStart(CommandHelper.getTownyTowns(), args[5]);
} else if (args[5].equalsIgnoreCase("nation")) {
} else if (args[4].equalsIgnoreCase("nation")) {
return NameUtil.filterByStart(CommandHelper.getTownyNations(), args[5]);
} else {
return empty;