mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-16 21:31:35 +01:00
Add DataTypeFilter#NONE
This commit is contained in:
parent
df324de9ec
commit
97a0dbebcb
@ -62,6 +62,16 @@ public enum DataTypeFilter implements Predicate<DataType> {
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* A data type filter indicating that no {@link DataType}s should be used.
|
||||
*/
|
||||
NONE {
|
||||
@Override
|
||||
public boolean test(DataType dataType) {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* A data type filter indicating that only {@link DataType#NORMAL} should be used.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user