Fix /pssp scheduler <timeframe> completion
This commit is contained in:
parent
add5db8fc0
commit
6dbb62238e
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ public class PluginCommand extends CommandBase {
|
||||||
if (commandSender.hasPermission("atc.commands.pickshadow")) {
|
if (commandSender.hasPermission("atc.commands.pickshadow")) {
|
||||||
ArrayList<String[]> completion = new ArrayList<>();
|
ArrayList<String[]> completion = new ArrayList<>();
|
||||||
completion.add(new String[]{ "reloadconfig", "reloaddata", "gc", "scheduler", "playerinfo" });
|
completion.add(new String[]{ "reloadconfig", "reloaddata", "gc", "scheduler", "playerinfo" });
|
||||||
if (args.length > 2) {
|
if (args.length > 1) {
|
||||||
if (args[0].equals("scheduler")) {
|
if (args[0].equals("scheduler")) {
|
||||||
completion.add(new String[]{"minutely", "hourly"});
|
completion.add(new String[]{"minutely", "hourly"});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue