Opps. Change a order

This commit is contained in:
libraryaddict 2014-04-18 19:52:54 +12:00
parent 4ebf7bdf51
commit b0f1a756cc

View File

@ -93,8 +93,8 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
}
}
globalAllowed.removeAll(globalForbidden);
globalAllowed.removeAll(singleForbidden);
singleAllowed.addAll(globalAllowed);
singleAllowed.removeAll(singleForbidden);
ArrayList<String> disguiseTypes = new ArrayList<String>(singleAllowed);
Collections.sort(disguiseTypes, String.CASE_INSENSITIVE_ORDER);
return disguiseTypes;