mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Revert this for now as it had unintended consquences
This commit is contained in:
parent
97209d5680
commit
eaa9872294
@ -1201,10 +1201,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
// Pick how we're going to visit blocks
|
// Pick how we're going to visit blocks
|
||||||
RecursiveVisitor visitor = new DirectionalVisitor(mask, replace, origin, direction, (int) (radius * 2 + 1));
|
RecursiveVisitor visitor = new DirectionalVisitor(mask, replace, origin, direction, (int) (radius * 2 + 1));
|
||||||
|
|
||||||
// With queue enabled, FAWE may start attempting to place chunks before the operation is finished.
|
|
||||||
// This is unnacceptable for recursive operations.
|
|
||||||
disableQueue();
|
|
||||||
|
|
||||||
// Start at the origin
|
// Start at the origin
|
||||||
visitor.visit(origin);
|
visitor.visit(origin);
|
||||||
|
|
||||||
@ -1263,10 +1259,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
visitor = new DownwardVisitor(mask, replace, origin.getBlockY(), (int) (radius * 2 + 1));
|
visitor = new DownwardVisitor(mask, replace, origin.getBlockY(), (int) (radius * 2 + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// With queue enabled, FAWE may start attempting to place chunks before the operation is finished.
|
|
||||||
// This is unnacceptable for recursive operations.
|
|
||||||
disableQueue();
|
|
||||||
|
|
||||||
// Start at the origin
|
// Start at the origin
|
||||||
visitor.visit(origin);
|
visitor.visit(origin);
|
||||||
|
|
||||||
@ -1747,10 +1739,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
}
|
}
|
||||||
RecursiveVisitor visitor = new RecursiveVisitor(mask, replace, (int) (radius * 2 + 1));
|
RecursiveVisitor visitor = new RecursiveVisitor(mask, replace, (int) (radius * 2 + 1));
|
||||||
|
|
||||||
// With queue enabled, FAWE may start attempting to place chunks before the operation is finished.
|
|
||||||
// This is unnacceptable for recursive operations.
|
|
||||||
disableQueue();
|
|
||||||
|
|
||||||
// Around the origin in a 3x3 block
|
// Around the origin in a 3x3 block
|
||||||
for (BlockVector3 position : CuboidRegion.fromCenter(origin, 1)) {
|
for (BlockVector3 position : CuboidRegion.fromCenter(origin, 1)) {
|
||||||
if (mask.test(position)) {
|
if (mask.test(position)) {
|
||||||
@ -1792,10 +1780,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
BlockReplace replace = new BlockReplace(this, fluid.getDefaultState());
|
BlockReplace replace = new BlockReplace(this, fluid.getDefaultState());
|
||||||
NonRisingVisitor visitor = new NonRisingVisitor(mask, replace);
|
NonRisingVisitor visitor = new NonRisingVisitor(mask, replace);
|
||||||
|
|
||||||
// With queue enabled, FAWE may start attempting to place chunks before the operation is finished.
|
|
||||||
// This is unnacceptable for recursive operations.
|
|
||||||
disableQueue();
|
|
||||||
|
|
||||||
// Around the origin in a 3x3 block
|
// Around the origin in a 3x3 block
|
||||||
for (BlockVector3 position : CuboidRegion.fromCenter(origin, 1)) {
|
for (BlockVector3 position : CuboidRegion.fromCenter(origin, 1)) {
|
||||||
if (liquidMask.test(position)) {
|
if (liquidMask.test(position)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user