mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
parent
f1d4104480
commit
fae528ab64
@ -157,7 +157,9 @@ public class ParallelQueueExtent extends PassthroughExtent implements IQueueWrap
|
||||
}
|
||||
// TODO optimize parallel
|
||||
for (BlockVector3 blockVector3 : vset) {
|
||||
pattern.apply(this, blockVector3, blockVector3);
|
||||
if (pattern.apply(this, blockVector3, blockVector3)) {
|
||||
this.changes++;
|
||||
}
|
||||
}
|
||||
return this.changes;
|
||||
}
|
||||
|
@ -2756,6 +2756,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
||||
BlockVector3 tipv = interpol.getPosition(loop).toBlockPoint();
|
||||
if (radius == 0) {
|
||||
pattern.apply(this, tipv, tipv);
|
||||
changes++;
|
||||
} else {
|
||||
vset.add(tipv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user