mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
parent
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user