aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2022-12-24 20:38:29 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2022-12-24 20:43:17 -0700
commit8422e3ac01c861125fd6aea441714a2fb38e5ff9 (patch)
treef684e91976927f8139092a2d7fbf0d2b732ed004 /launcher/minecraft/mod
parentcfce54fe46f7d3db39e50c4113cb9fc74d6719e2 (diff)
downloadPrismLauncher-8422e3ac01c861125fd6aea441714a2fb38e5ff9.tar.gz
PrismLauncher-8422e3ac01c861125fd6aea441714a2fb38e5ff9.tar.bz2
PrismLauncher-8422e3ac01c861125fd6aea441714a2fb38e5ff9.zip
feat: zip resource validation check for flame
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/mod')
-rw-r--r--launcher/minecraft/mod/DataPack.cpp2
-rw-r--r--launcher/minecraft/mod/ResourcePack.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/launcher/minecraft/mod/DataPack.cpp b/launcher/minecraft/mod/DataPack.cpp
index 6c333285..ea1d097b 100644
--- a/launcher/minecraft/mod/DataPack.cpp
+++ b/launcher/minecraft/mod/DataPack.cpp
@@ -41,7 +41,7 @@ void DataPack::setPackFormat(int new_format_id)
QMutexLocker locker(&m_data_lock);
if (!s_pack_format_versions.contains(new_format_id)) {
- qWarning() << "Pack format '%1' is not a recognized resource pack id!";
+ qWarning() << "Pack format '" << new_format_id << "' is not a recognized data pack id!";
}
m_pack_format = new_format_id;
diff --git a/launcher/minecraft/mod/ResourcePack.cpp b/launcher/minecraft/mod/ResourcePack.cpp
index 47da4fea..87995215 100644
--- a/launcher/minecraft/mod/ResourcePack.cpp
+++ b/launcher/minecraft/mod/ResourcePack.cpp
@@ -27,7 +27,7 @@ void ResourcePack::setPackFormat(int new_format_id)
QMutexLocker locker(&m_data_lock);
if (!s_pack_format_versions.contains(new_format_id)) {
- qWarning() << "Pack format '%1' is not a recognized resource pack id!";
+ qWarning() << "Pack format '" << new_format_id << "' is not a recognized resource pack id!";
}
m_pack_format = new_format_id;