mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-03 14:14:43 +02:00
Add whenDone task to setCuboids and ensure whenDone tasks are added to the queue before FAWE might do something
This commit is contained in:
Bukkit/src/main/java/com/plotsquared/bukkit/util/fawe
Core/src/main/java/com/plotsquared/core
command
components
generator
gradle
@ -67,10 +67,10 @@ public class FaweRegionManager extends BukkitRegionManager {
|
||||
final @NonNull Pattern blocks,
|
||||
int minY,
|
||||
int maxY,
|
||||
@org.checkerframework.checker.nullness.qual.Nullable PlotPlayer<?> actor,
|
||||
@org.checkerframework.checker.nullness.qual.Nullable QueueCoordinator queue
|
||||
@Nullable PlotPlayer<?> actor,
|
||||
@Nullable QueueCoordinator queue
|
||||
) {
|
||||
return delegate.setCuboids(area, regions, blocks, minY, maxY);
|
||||
return delegate.setCuboids(area, regions, blocks, minY, maxY, queue.getCompleteTask());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user