Block b = this.chunks.getBlock(rmBlockAction.x, rmBlockAction.y, rmBlockAction.z, tmp, (Chunk)null);
if (b.getHealth() < 0) {
this.chunks.setBlock(rmBlockAction.x, rmBlockAction.y, rmBlockAction.z, BlockEmpty.Make(0), tmp, tmp2, null);
if (thing instanceof InventoryOwner) {
InventoryOwner inventoryOwner = (InventoryOwner) thing;
inventoryOwner.addBlock(b);
}
} else {
Block newB = BlockTools.updateHealth(b, b.getHealth()-1);
this.chunks.setBlock(rmBlockAction.x, rmBlockAction.y, rmBlockAction.z, newB, tmp, tmp2, null);
}