mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
Minuteman command changes and overrides
This commit is contained in:
1 parent
2aa106b29c
commit
d5bf05e0ec
7 files changed
+144
-11
No files matched your search
@@ -278,7 +278,11 @@ public class AdminTabCompletion implements TabCompleter {
|
||||
if (args.length > 5) {
|
||||
if (args.length > 6) {
|
||||
if (args.length > 7) {
|
||||
return empty;
|
||||
if (args.length > 8) {
|
||||
return empty;
|
||||
} else {
|
||||
return NameUtil.filterByStart(List.of(new String[] { "true","false" }), args[6]);
|
||||
}
|
||||
} else {
|
||||
return NameUtil.filterByStart(CommandHelper.getWarSides(args[4]), args[6]);
|
||||
}
|
||||
@@ -296,7 +300,11 @@ public class AdminTabCompletion implements TabCompleter {
|
||||
if (args.length > 5) {
|
||||
if (args.length > 6) {
|
||||
if (args.length > 7) {
|
||||
return empty;
|
||||
if (args.length > 8) {
|
||||
return empty;
|
||||
} else {
|
||||
return NameUtil.filterByStart(List.of(new String[] { "true","false" }), args[6]);
|
||||
}
|
||||
} else {
|
||||
return NameUtil.filterByStart(CommandHelper.getWarSides(args[4]), args[6]);
|
||||
}
|
||||
@@ -313,7 +321,11 @@ public class AdminTabCompletion implements TabCompleter {
|
||||
if (args.length > 4) {
|
||||
if (args.length > 5) {
|
||||
if (args.length > 6) {
|
||||
return empty;
|
||||
if (args.length > 7) {
|
||||
return empty;
|
||||
} else {
|
||||
return NameUtil.filterByStart(List.of(new String[] { "true","false" }), args[6]);
|
||||
}
|
||||
} else {
|
||||
return NameUtil.filterByStart(CommandHelper.getWarSides(args[4]), args[5]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user