mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
Fix ending
This commit is contained in:
1 parent
889c79e46a
commit
7fb5494885
5 files changed
+33
-3
No files matched your search
@@ -44,8 +44,11 @@ public class RaidTabCompletion implements TabCompleter {
|
||||
if (args.length > 0) {
|
||||
if(args.length > 1) {
|
||||
switch (args[0]) {
|
||||
case "abandon", "join", "leave", "start" -> {
|
||||
case "abandon", "join", "leave", "start", "stop" -> {
|
||||
if (args.length > 2) {
|
||||
if (args.length > 3) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return NameUtil.filterByStart(CommandHelper.getTownyWarTowns(args[1]), args[2]);
|
||||
} else {
|
||||
return NameUtil.filterByStart(CommandHelper.getWarNames(), args[1]);
|
||||
|
||||
Reference in new issue
Block a user