Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Ursprung
f1d4104480
Commit
fae528ab64
@ -157,7 +157,9 @@ public class ParallelQueueExtent extends PassthroughExtent implements IQueueWrap
|
|||||||
}
|
}
|
||||||
// TODO optimize parallel
|
// TODO optimize parallel
|
||||||
for (BlockVector3 blockVector3 : vset) {
|
for (BlockVector3 blockVector3 : vset) {
|
||||||
pattern.apply(this, blockVector3, blockVector3);
|
if (pattern.apply(this, blockVector3, blockVector3)) {
|
||||||
|
this.changes++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return this.changes;
|
return this.changes;
|
||||||
}
|
}
|
||||||
|
@ -2756,6 +2756,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
BlockVector3 tipv = interpol.getPosition(loop).toBlockPoint();
|
BlockVector3 tipv = interpol.getPosition(loop).toBlockPoint();
|
||||||
if (radius == 0) {
|
if (radius == 0) {
|
||||||
pattern.apply(this, tipv, tipv);
|
pattern.apply(this, tipv, tipv);
|
||||||
|
changes++;
|
||||||
} else {
|
} else {
|
||||||
vset.add(tipv);
|
vset.add(tipv);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren