Skip to content

Commit

Permalink
Fix command permission handling
Browse files Browse the repository at this point in the history
...I could've sworn that this was handled internally by Bukkit...
  • Loading branch information
Morphan1 committed Jan 31, 2015
1 parent c932baf commit 8ff721e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -86,6 +86,7 @@ public boolean testPermission(CommandSender target) {

@Override
public boolean execute(CommandSender commandSender, String commandLabel, String[] arguments) {
if (!testPermission(commandSender)) return true;
Map<String, dObject> context = new HashMap<String, dObject>();
String raw_args = "";
if (arguments.length > 0) {
Expand Down

0 comments on commit 8ff721e

Please sign in to comment.