Fixed Block.breakNaturally(). Fixes BUKKIT-1295

This commit is contained in:
EvilSeph committed 2012-03-23 02:37:38 -04:00
1 parent cf2abd20e8
commit b60a6743ed
1 file changed
+3
@@ -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;