diff --git a/src/main/java/top/penowl/quidproquo/Commands.java b/src/main/java/top/penowl/quidproquo/Commands.java index 7f1b044..8773c99 100644 --- a/src/main/java/top/penowl/quidproquo/Commands.java +++ b/src/main/java/top/penowl/quidproquo/Commands.java @@ -34,10 +34,7 @@ public class Commands implements CommandExecutor { @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { - if (args.length < 1) { - // display help - return false; - } else if (args[0].toLowerCase().equals("list")) { + if (args.length < 1 || args[0].toLowerCase().equals("list")) { List ritualNames = new ArrayList(recipes.keySet()); Collections.sort(ritualNames); int max = ritualNames.size() - 1;