mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Various minor fixes
Fix drain Fix some messages lacking prefix Fix non persistent brushes
This commit is contained in:
@ -48,6 +48,15 @@ public class MaskIntersection extends AbstractMask {
|
||||
formArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new intersection.
|
||||
*
|
||||
* @param mask a list of masks
|
||||
*/
|
||||
public MaskIntersection(Mask... mask) {
|
||||
this(Arrays.asList(checkNotNull(mask)));
|
||||
}
|
||||
|
||||
private void formArray() {
|
||||
if (masks.isEmpty()) {
|
||||
masksArray = new Mask[]{Masks.alwaysFalse()};
|
||||
@ -123,15 +132,6 @@ public class MaskIntersection extends AbstractMask {
|
||||
return hasOptimized;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new intersection.
|
||||
*
|
||||
* @param mask a list of masks
|
||||
*/
|
||||
public MaskIntersection(Mask... mask) {
|
||||
this(Arrays.asList(checkNotNull(mask)));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add some masks to the list.
|
||||
*
|
||||
|
Reference in New Issue
Block a user