Opps. Change a order
This commit is contained in:
parent
4ebf7bdf51
commit
b0f1a756cc
@ -93,8 +93,8 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
globalAllowed.removeAll(globalForbidden);
|
globalAllowed.removeAll(globalForbidden);
|
||||||
globalAllowed.removeAll(singleForbidden);
|
|
||||||
singleAllowed.addAll(globalAllowed);
|
singleAllowed.addAll(globalAllowed);
|
||||||
|
singleAllowed.removeAll(singleForbidden);
|
||||||
ArrayList<String> disguiseTypes = new ArrayList<String>(singleAllowed);
|
ArrayList<String> disguiseTypes = new ArrayList<String>(singleAllowed);
|
||||||
Collections.sort(disguiseTypes, String.CASE_INSENSITIVE_ORDER);
|
Collections.sort(disguiseTypes, String.CASE_INSENSITIVE_ORDER);
|
||||||
return disguiseTypes;
|
return disguiseTypes;
|
||||||
|
Loading…
Reference in New Issue
Block a user