Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot 2011-02-06 14:49:08 +01:00
parent a72a6cba8e
commit ed824523e8

View File

@ -36,7 +36,9 @@ public class BlockRightClickEvent extends BlockEvent {
* Get the block that this block was placed against
*
* @return Block the block that the new block was placed against
* @deprecated use getBlock
*/
@Deprecated
public Block getBlockAgainst() {
return clickedBlock;
}