1
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-04-04 19:15:45 +02:00

BlockDropItemEvent should refer to getBlockState rather than getBlockData

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-01-07 16:10:14 +11:00
parent 9fd4fbd67e
commit 0102a2b399

View File

@ -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. * 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 * 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. * block.
* *
* @deprecated draft API * @deprecated draft API