mirror of https://github.com/MilkBowl/Vault.git
fix missing return statement in command section. fixes Issue #554
This commit is contained in:
parent
28d39b7ece
commit
d043e6a153
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue