mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 00:42:05 +01:00
BlockDropItemEvent should refer to getBlockState rather than getBlockData
By: md_5 <git@md-5.net>
This commit is contained in:
parent
9fd4fbd67e
commit
0102a2b399
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import org.bukkit.event.HandlerList;
|
|||
* for example a torch on top of a stone. Both items will have an event call.
|
||||
*
|
||||
* The Block is already broken as this event is called, so #getBlock() will be
|
||||
* AIR in most cases. Use #getBlockData() for more Information about the broken
|
||||
* AIR in most cases. Use #getBlockState() for more Information about the broken
|
||||
* block.
|
||||
*
|
||||
* @deprecated draft API
|
||||
|
|
Loading…
Add table
Reference in a new issue