Skip to content

Commit

Permalink
another usage/permission cleanup, this one for uber commands
Browse files Browse the repository at this point in the history
  • Loading branch information
andune committed Jan 6, 2015
1 parent f114060 commit 6388ff4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,17 @@ else if (args.length > 0) {
return true;
}
// otherwise print out uber-command help syntax
else
return false;
else {
sender.sendMessage(getUsage(sender));
return true;
}
}
// if there is a baseFallThroughCommand, check if we should run that
else if (baseFallThroughCommand != null && baseFallThroughCommand.processUberCommandDryRun(sender, label, args)) {
return baseFallThroughCommand.execute(sender, label, args);
}

sender.sendMessage(getUsage());
sender.sendMessage(getUsage(sender));
return true;
}

Expand Down

0 comments on commit 6388ff4

Please sign in to comment.