From f03c3bd1e9823af3ff431eec4dc67f9a5a203490 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 23 Mar 2012 02:12:51 -0400 Subject: [PATCH] Fixed Block.breakNaturally(). Fixes BUKKIT-1295 By: EvilSeph --- .../src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java index 368cea9959..4da3078164 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java @@ -348,6 +348,9 @@ public class CraftBlock implements Block { setTypeId(Material.AIR.getId()); if (block != null) { block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0); + for (ItemStack item : getDrops()) { + breakNaturally(item); + } return true; } return false;