Added a deprecated delegate for storeDroppedBlock.

This commit is contained in:
TomyLobo 2011-11-04 16:39:56 +01:00
parent 2d0880e38d
commit 7beac92232

View File

@ -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.
* *