From 25b27ad27bb00cadd60e63b582af2645a56e8dc1 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 23 Mar 2012 03:06:37 -0400 Subject: [PATCH] Really fixed Block.breakNaturally(). Fixes BUKKIT-1295 By: EvilSeph --- .../src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 4da3078164..b667b21dd0 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 @@ -18,6 +18,7 @@ import org.bukkit.block.BlockFace; import org.bukkit.block.BlockState; import org.bukkit.block.PistonMoveReaction; import org.bukkit.craftbukkit.CraftChunk; +import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.inventory.ItemStack; import org.bukkit.metadata.MetadataValue; import org.bukkit.plugin.Plugin; @@ -349,7 +350,7 @@ public class CraftBlock implements Block { if (block != null) { block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0); for (ItemStack item : getDrops()) { - breakNaturally(item); + block.finishDrop(chunk.getHandle().world, x, y, z, CraftItemStack.createNMSItemStack(item)); } return true; }