Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Fix ParallelQueueExtent#setBlocks(Region, <B extends BlockStateHolder>)#
- Fixes removeabove/removebelow
Dieser Commit ist enthalten in:
Ursprung
346223977d
Commit
9af77c06b8
@ -147,9 +147,9 @@ public class ParallelQueueExtent extends PassthroughExtent implements IQueueWrap
|
||||
|
||||
@Override
|
||||
public <B extends BlockStateHolder<B>> int setBlocks(Region region, B block) throws MaxChangedBlocksException {
|
||||
return this.changes = apply(region, new BlockMaskBuilder().add(block).build(this).toFilter(new CountFilter()))
|
||||
.getParent()
|
||||
.getTotal();
|
||||
Mask mask = new BlockMaskBuilder().add(block).build(this).inverse();
|
||||
return this.changes = apply(region, mask.toFilter(block), mask.replacesAir())
|
||||
.getBlocksApplied();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren