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

Dieser Commit ist enthalten in:
sk89q 2014-07-05 16:40:07 -07:00
Ursprung 51a540dab1
Commit 63605a8417

Datei anzeigen

@ -1259,4 +1259,13 @@ public class BukkitWorld extends LocalWorld {
return super.setBlock(pt, block, notifyAdjacent); 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);
}
} }