mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user