diff --git a/src/me/libraryaddict/disguise/BaseDisguiseCommand.java b/src/me/libraryaddict/disguise/BaseDisguiseCommand.java index ac3409e4..37ec069c 100644 --- a/src/me/libraryaddict/disguise/BaseDisguiseCommand.java +++ b/src/me/libraryaddict/disguise/BaseDisguiseCommand.java @@ -348,7 +348,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor { for (HashSet perms : optionPermissions) { if (!perms.containsAll(usedOptions)) { throw new Exception(ChatColor.RED + "You do not have the permission to use the option " - + usedOptions.iterator().next()); + + usedOptions.toArray(new String[usedOptions.size()])[usedOptions.size() - 1]); } } }