| 76 | { 48, { Version("1.21"), Version("1.21") } } }; |
| 77 | |
| 78 | void DataPack::setPackFormat(int new_format_id) |
| 79 | { |
| 80 | QMutexLocker locker(&m_data_lock); |
| 81 | |
| 82 | if (!s_pack_format_versions.contains(new_format_id)) { |
| 83 | qWarning() << "Pack format '" << new_format_id << "' is not a recognized data pack id!"; |
| 84 | } |
| 85 | |
| 86 | m_pack_format = new_format_id; |
| 87 | } |
| 88 | |
| 89 | void DataPack::setDescription(QString new_description) |
| 90 | { |
no test coverage detected