allow count to access "full" chunks if counting air

This commit is contained in:
dordsor21 2020-12-17 22:05:32 +00:00
parent 884ec322b8
commit e8f0c0e6ea
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -140,7 +140,7 @@ public class ParallelQueueExtent extends PassthroughExtent implements IQueueWrap
return
// Apply a filter over a region
apply(region, searchMask
.toFilter(new CountFilter()), false) // Adapt the mask to a filter which counts
.toFilter(new CountFilter()), searchMask.replacesAir()) // Adapt the mask to a filter which counts
.getParent() // Get the counter of this mask
.getTotal(); // Get the total from the counter
}