Removed notifyAdjacent from Extent.setBlock().

Also fixed Extent's incorrect Javadocs.
This commit is contained in:
sk89q
2014-03-31 17:20:54 -07:00
parent e7fe787b20
commit fe25d08267
18 changed files with 69 additions and 73 deletions

View File

@ -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));
}
}

View File

@ -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);
}
}

View File

@ -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;