Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock
This commit is contained in:
parent
a2e50fd8f6
commit
25ed7caa90
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user