Skip to content

Commit

Permalink
fix default placement
Browse files Browse the repository at this point in the history
  • Loading branch information
YouHaveTrouble committed Sep 2, 2021
1 parent 7e6b793 commit 727d6c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public enum CommandType {
public static List<String> commandSuggestions(ConfigCache config, Collection<String> serverCommands, String[] args, boolean reloadPerm, boolean adminPerm) {
List<String> list = new ArrayList<>();
switch (args.length) {
default:
case 0:
case 1:
if ("reload".startsWith(args[0]) && reloadPerm)
Expand Down Expand Up @@ -101,8 +100,9 @@ public static List<String> commandSuggestions(ConfigCache config, Collection<Str
}
return list;
}
default:
return list;
}
return list;
}

}

0 comments on commit 727d6c3

Please sign in to comment.