geforkt von Mirrors/FastAsyncWorldEdit
Fixed BlockMask, MaskIntersection not using this.
Dieser Commit ist enthalten in:
Ursprung
37c388baef
Commit
fb16897b5c
@ -50,7 +50,7 @@ public class BlockMask extends AbstractExtentMask {
|
|||||||
public BlockMask(Extent extent, Collection<BaseBlock> blocks) {
|
public BlockMask(Extent extent, Collection<BaseBlock> blocks) {
|
||||||
super(extent);
|
super(extent);
|
||||||
checkNotNull(blocks);
|
checkNotNull(blocks);
|
||||||
blocks.addAll(blocks);
|
this.blocks.addAll(blocks);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -70,7 +70,7 @@ public class BlockMask extends AbstractExtentMask {
|
|||||||
*/
|
*/
|
||||||
public void add(Collection<BaseBlock> blocks) {
|
public void add(Collection<BaseBlock> blocks) {
|
||||||
checkNotNull(blocks);
|
checkNotNull(blocks);
|
||||||
blocks.addAll(blocks);
|
this.blocks.addAll(blocks);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -44,7 +44,7 @@ public class MaskIntersection extends AbstractMask {
|
|||||||
*/
|
*/
|
||||||
public MaskIntersection(Collection<Mask> masks) {
|
public MaskIntersection(Collection<Mask> masks) {
|
||||||
checkNotNull(masks);
|
checkNotNull(masks);
|
||||||
masks.addAll(masks);
|
this.masks.addAll(masks);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -63,7 +63,7 @@ public class MaskIntersection extends AbstractMask {
|
|||||||
*/
|
*/
|
||||||
public void add(Collection<Mask> masks) {
|
public void add(Collection<Mask> masks) {
|
||||||
checkNotNull(masks);
|
checkNotNull(masks);
|
||||||
masks.addAll(masks);
|
this.masks.addAll(masks);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren