mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock
This commit is contained in:
parent
a2e50fd8f6
commit
25ed7caa90
1 changed files with 2 additions and 0 deletions
|
@ -36,7 +36,9 @@ public class BlockRightClickEvent extends BlockEvent {
|
||||||
* Get the block that this block was placed against
|
* Get the block that this block was placed against
|
||||||
*
|
*
|
||||||
* @return Block the block that the new block was placed against
|
* @return Block the block that the new block was placed against
|
||||||
|
* @deprecated use getBlock
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public Block getBlockAgainst() {
|
public Block getBlockAgainst() {
|
||||||
return clickedBlock;
|
return clickedBlock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue