Repair invalid minetype error