mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 05:02:35 +00:00
Add DataTypeFilter#NONE
This commit is contained in:
1 file changed
+10
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user