aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/tasks/LocalResourceParse.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-15 16:40:56 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-15 16:40:56 -0700
commit649753e97e4609deee09a1c8beeba3027d66e4d0 (patch)
tree686371d6d0e9acc446ce835fb99bb000fe456294 /launcher/minecraft/mod/tasks/LocalResourceParse.cpp
parentfc656b6927914d64077e23690859996447908c57 (diff)
downloadPrismLauncher-649753e97e4609deee09a1c8beeba3027d66e4d0.tar.gz
PrismLauncher-649753e97e4609deee09a1c8beeba3027d66e4d0.tar.bz2
PrismLauncher-649753e97e4609deee09a1c8beeba3027d66e4d0.zip
cleanup: remove unneeded headers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/mod/tasks/LocalResourceParse.cpp')
-rw-r--r--launcher/minecraft/mod/tasks/LocalResourceParse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/tasks/LocalResourceParse.cpp b/launcher/minecraft/mod/tasks/LocalResourceParse.cpp
index ef052afc..fa7d7f4a 100644
--- a/launcher/minecraft/mod/tasks/LocalResourceParse.cpp
+++ b/launcher/minecraft/mod/tasks/LocalResourceParse.cpp
@@ -44,7 +44,7 @@ static const QMap<PackedResourceType, QString> s_packed_type_names = {
namespace ResourceUtils {
PackedResourceType identify(QFileInfo file){
if (file.exists() && file.isFile()) {
- if (ModUtils::validate(file)) {
+ if (ModUtils::validate(file)) { // Mods can also contain resource and data packs
qDebug() << file.fileName() << "is a mod";
return PackedResourceType::Mod;
} else if (ResourcePackUtils::validate(file)) {