3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-13 22:50:06 +01:00

Added a deprecated delegate for storeDroppedBlock.

Dieser Commit ist enthalten in:
TomyLobo 2011-11-04 16:39:56 +01:00
Ursprung 2d0880e38d
Commit 7beac92232

Datei anzeigen

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