mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
BlockDropItemEvent should refer to getBlockState rather than getBlockData
This commit is contained in:
parent
2b555a7535
commit
6de6ac4a8b
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