diff --git a/src/cz/marwland/mc/essentials/features/Borders.java b/src/cz/marwland/mc/essentials/features/Borders.java index 60aecfc..2266664 100644 --- a/src/cz/marwland/mc/essentials/features/Borders.java +++ b/src/cz/marwland/mc/essentials/features/Borders.java @@ -103,9 +103,9 @@ public class Borders extends Feature { } @Override - public List tabComplete(CommandSender sender, String alias, String[] args) throws IllegalArgumentException { + public List tabComplete(CommandSender sender, String alias, String[] args) throws IllegalArgumentException { ArrayList hints = new ArrayList(); - if (args.length < 1) + if (!sender.hasPermission(this.getPermission()) || args.length < 1) return hints; String lastWord = args[args.length - 1];