Fixed Javadocs in EditSession.

This commit is contained in:
sk89q 2014-03-30 14:46:50 -07:00
parent a9797ed30b
commit cfdd87efac

View File

@ -1301,7 +1301,7 @@ public class EditSession implements Extent {
* @param origin the origin to drain from, which will search a 3x3 area * @param origin the origin to drain from, which will search a 3x3 area
* @param radius the radius of the removal, where a value should be 0 or greater * @param radius the radius of the removal, where a value should be 0 or greater
* @return number of blocks affected * @return number of blocks affected
* @throws MaxChangedBlocksException * @throws MaxChangedBlocksException thrown if too many blocks are changed
*/ */
public int drainArea(Vector origin, double radius) throws MaxChangedBlocksException { public int drainArea(Vector origin, double radius) throws MaxChangedBlocksException {
checkNotNull(origin); checkNotNull(origin);
@ -1328,14 +1328,14 @@ public class EditSession implements Extent {
} }
/** /**
* Level water. * Fix liquids so that they turn into stationary blocks and extend outward.
* *
* @param pos * @param origin the original position
* @param radius * @param radius the radius to fix
* @param moving * @param moving the block ID of the moving liquid
* @param stationary * @param stationary the block ID of the stationary liquid
* @return number of blocks affected * @return number of blocks affected
* @throws MaxChangedBlocksException * @throws MaxChangedBlocksException thrown if too many blocks are changed
*/ */
public int fixLiquid(Vector origin, double radius, int moving, int stationary) throws MaxChangedBlocksException { public int fixLiquid(Vector origin, double radius, int moving, int stationary) throws MaxChangedBlocksException {
checkNotNull(origin); checkNotNull(origin);