fixed not saving replacedBlocks on shutdown