Fixed various bugs in Mining_Type_1