13
0
geforkt von Mirrors/Paper

BlockDropItemEvent should refer to getBlockState rather than getBlockData

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2019-01-07 16:10:14 +11:00
Ursprung 9fd4fbd67e
Commit 0102a2b399

Datei anzeigen

@ -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