Fixed metadata and slot writing

Dug blocks now spawn the correct result.