mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 22:16:00 +00:00
tons of little issues with admin commands. tweaks and bugfixes galore!
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user