Added a deprecated delegate for storeDroppedBlock.
This commit is contained in:
@@ -28,6 +28,19 @@ import com.sk89q.worldedit.blocks.*;
|
|||||||
* @author sk89q
|
* @author sk89q
|
||||||
*/
|
*/
|
||||||
public abstract class BlockBag {
|
public abstract class BlockBag {
|
||||||
|
/**
|
||||||
|
* Stores a block as if it was mined.
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @param data
|
||||||
|
* @throws BlockBagException
|
||||||
|
* @deprecated Use {@link BlockBag#storeDroppedBlock(int, int)}
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public void storeDroppedBlock(int id) throws BlockBagException {
|
||||||
|
storeDroppedBlock(id, 0);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores a block as if it was mined.
|
* Stores a block as if it was mined.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user