Fixed Block.breakNaturally(). Fixes BUKKIT-1295

This commit is contained in:
EvilSeph 2012-03-23 02:12:51 -04:00
parent cf2abd20e8
commit b60a6743ed

View file

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