mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
fix: don't "double-up" a setblocks if a region is being set (#2299)
- Fixes #2294
This commit is contained in:
parent
135c77cfb5
commit
f0aef98870
@ -193,6 +193,7 @@ public class ParallelQueueExtent extends PassthroughExtent {
|
|||||||
public int setBlocks(Set<BlockVector3> vset, Pattern pattern) {
|
public int setBlocks(Set<BlockVector3> vset, Pattern pattern) {
|
||||||
if (vset instanceof Region) {
|
if (vset instanceof Region) {
|
||||||
this.changes = setBlocks((Region) vset, pattern);
|
this.changes = setBlocks((Region) vset, pattern);
|
||||||
|
return this.changes;
|
||||||
}
|
}
|
||||||
// TODO optimize parallel
|
// TODO optimize parallel
|
||||||
for (BlockVector3 blockVector3 : vset) {
|
for (BlockVector3 blockVector3 : vset) {
|
||||||
|
Loading…
Reference in New Issue
Block a user