fix missing return statement in command section. fixes Issue #554

This commit is contained in:
Nick Minkler 2014-06-27 06:34:01 -07:00
parent 28d39b7ece
commit d043e6a153
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ public class Vault extends JavaPlugin {
public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
if (!sender.hasPermission("vault.admin")) {
sender.sendMessage("You do not have permission to use that command!");
return true;
}
if (command.getName().equalsIgnoreCase("vault-info")) {