From e8f0c0e6ea2d30d4632d4b41878df6fdb097ef3b Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 17 Dec 2020 22:05:32 +0000 Subject: [PATCH] allow count to access "full" chunks if counting air --- .../fawe/beta/implementation/queue/ParallelQueueExtent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/ParallelQueueExtent.java b/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/ParallelQueueExtent.java index 0314c1b6e..1e8bd2301 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/ParallelQueueExtent.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/ParallelQueueExtent.java @@ -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 }