Added support for replacing a list of blocks with one block with //replace.

This commit is contained in:
sk89q
2010-11-06 09:35:05 -07:00
parent cd16ca3abb
commit 01340152e3
4 changed files with 42 additions and 13 deletions

View File

@ -24,5 +24,13 @@ package com.sk89q.worldedit;
* @author sk89q
*/
public class DisallowedItemException extends WorldEditException {
private String type;
public DisallowedItemException(String type) {
this.type = type;
}
public String getID() {
return type;
}
}

View File

@ -25,5 +25,13 @@ package com.sk89q.worldedit;
* @author sk89q
*/
public class UnknownItemException extends WorldEditException {
private String type;
public UnknownItemException(String type) {
this.type = type;
}
public String getID() {
return type;
}
}