Now using com.sk89q.worldedit.blocks.BlockType for block type queries. rawSetBlock() now handles changes in block data. WorldEdit.getBlock() now supports specifying data and sign text.
This commit is contained in:
@@ -56,7 +56,7 @@ public class BaseBlock {
|
||||
/**
|
||||
* @return the type
|
||||
*/
|
||||
public int getType() {
|
||||
public int getID() {
|
||||
return (int)type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user