[Bukkit] Added shim method for setBlock(..., foundation.Block, ...).

This commit is contained in:
sk89q 2014-07-05 16:40:07 -07:00
parent 51a540dab1
commit 63605a8417

View File

@ -1259,4 +1259,13 @@ public class BukkitWorld extends LocalWorld {
return super.setBlock(pt, block, notifyAdjacent);
}
/**
* @deprecated Use {@link #setBlock(Vector, BaseBlock, boolean)}
*/
@Deprecated
public boolean setBlock(Vector pt, com.sk89q.worldedit.foundation.Block block, boolean notifyAdjacent) throws WorldEditException {
return setBlock(pt, (BaseBlock) block, notifyAdjacent);
}
}