Reorganized code, made exceptions inherit from WorldEditException, added /setchangelimit.

This commit is contained in:
sk89q
2010-10-04 16:39:35 -07:00
parent 1f7b39b8e3
commit 713f23d0de
13 changed files with 211 additions and 50 deletions

View File

@@ -100,8 +100,10 @@ public class RegionClipboard {
* @param editSession
* @param origin Position to paste it from
* @param noAir True to not paste air
* @throws MaxChangedBlocksException
*/
public void paste(EditSession editSession, Point<Integer> newOrigin, boolean noAir) {
public void paste(EditSession editSession, Point<Integer> newOrigin, boolean noAir)
throws MaxChangedBlocksException {
int xs = getWidth();
int ys = getHeight();
int zs = getLength();