mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-03 03:46:42 +00:00
Removed notifyAdjacent from Extent.setBlock().
Also fixed Extent's incorrect Javadocs.
This commit is contained in:
@ -50,7 +50,7 @@ public class BlockReplace implements RegionFunction {
|
||||
|
||||
@Override
|
||||
public boolean apply(Vector position) throws WorldEditException {
|
||||
return extent.setBlock(position, pattern.apply(position), true);
|
||||
return extent.setBlock(position, pattern.apply(position));
|
||||
}
|
||||
|
||||
}
|
@ -64,7 +64,7 @@ public class ExtentBlockCopy implements RegionFunction {
|
||||
@Override
|
||||
public boolean apply(Vector position) throws WorldEditException {
|
||||
BaseBlock block = source.getBlock(position);
|
||||
return destination.setBlock(transform.apply(position.subtract(from)).add(to), block, true);
|
||||
return destination.setBlock(transform.apply(position.subtract(from)).add(to), block);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ public class BlockMapEntryVisitor implements Operation {
|
||||
public Operation resume() throws WorldEditException {
|
||||
while (iterator.hasNext()) {
|
||||
Map.Entry<BlockVector, BaseBlock> entry = iterator.next();
|
||||
extent.setBlock(entry.getKey(), entry.getValue(), true);
|
||||
extent.setBlock(entry.getKey(), entry.getValue());
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user