mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Added a deprecated delegate for storeDroppedBlock.
This commit is contained in:
parent
2d0880e38d
commit
7beac92232
@ -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.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user