1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-08-28 08:39:48 +02:00

Some misc tidying up

This commit is contained in:
Luck
2020-12-23 12:16:14 +00:00
parent 5c44333892
commit 8dfeef9575
28 changed files with 792 additions and 771 deletions

View File

@@ -93,8 +93,8 @@ public enum DataTypeFilter implements Predicate<DataType> {
};
private static final List<DataType> ALL_LIST = Collections.unmodifiableList(Arrays.asList(DataType.NORMAL, DataType.TRANSIENT));
private static final List<DataType> NORMAL_ONLY_LIST = Collections.unmodifiableList(Collections.singletonList(DataType.NORMAL));
private static final List<DataType> TRANSIENT_ONLY_LIST = Collections.unmodifiableList(Collections.singletonList(DataType.TRANSIENT));
private static final List<DataType> NORMAL_ONLY_LIST = Collections.singletonList(DataType.NORMAL);
private static final List<DataType> TRANSIENT_ONLY_LIST = Collections.singletonList(DataType.TRANSIENT);
/**
* Gets a {@link List} of all {@link DataType}s, filtered by the {@code predicate}.