13
0
geforkt von Mirrors/Paper

Fixed Block.breakNaturally(). Fixes BUKKIT-1295

Dieser Commit ist enthalten in:
EvilSeph 2012-03-23 02:12:51 -04:00
Ursprung cf2abd20e8
Commit b60a6743ed

Datei anzeigen

@ -348,6 +348,9 @@ public class CraftBlock implements Block {
setTypeId(Material.AIR.getId()); setTypeId(Material.AIR.getId());
if (block != null) { if (block != null) {
block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0); block.dropNaturally(chunk.getHandle().world, x, y, z, data, 1.0F, 0);
for (ItemStack item : getDrops()) {
breakNaturally(item);
}
return true; return true;
} }
return false; return false;