From 0102a2b399598651684319f598a527fbee5cc0ac Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 7 Jan 2019 16:10:14 +1100 Subject: [PATCH] BlockDropItemEvent should refer to getBlockState rather than getBlockData By: md_5 --- .../main/java/org/bukkit/event/block/BlockDropItemEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/block/BlockDropItemEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockDropItemEvent.java index 3d2aa64d89..fc0aaac7ea 100644 --- a/paper-api/src/main/java/org/bukkit/event/block/BlockDropItemEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/block/BlockDropItemEvent.java @@ -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