Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
fix: don't "double-up" a setblocks if a region is being set (#2299)
- Fixes #2294
Dieser Commit ist enthalten in:
Ursprung
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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren