Gotta remember to add command arguments to the tab completion
This commit is contained in:
parent
91e74845a2
commit
e77cda996e
@ -26,7 +26,7 @@ import com.graywolf336.jail.enums.Lang;
|
|||||||
usage = "/jail signs [clean|refresh|update|verify] [jail] (cell)..."
|
usage = "/jail signs [clean|refresh|update|verify] [jail] (cell)..."
|
||||||
)
|
)
|
||||||
public class JailSignsCommand implements Command {
|
public class JailSignsCommand implements Command {
|
||||||
private static final String[] options = new String[] { "clean", "refresh", "verify" };
|
private static final String[] options = new String[] { "clean", "refresh", "update", "verify" };
|
||||||
|
|
||||||
public boolean execute(JailManager jm, CommandSender sender, String... args) throws Exception {
|
public boolean execute(JailManager jm, CommandSender sender, String... args) throws Exception {
|
||||||
if(!jm.isValidJail(args[2])) {
|
if(!jm.isValidJail(args[2])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user