Update launcher/minecraft/mod/tasks/LocalResourceParse.cpp
Co-authored-by: seth <getchoo@tuta.io> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
e704072892
commit
cde85947c7
@ -45,7 +45,7 @@ namespace ResourceUtils {
|
|||||||
PackedResourceType identify(QFileInfo file){
|
PackedResourceType identify(QFileInfo file){
|
||||||
if (file.exists() && file.isFile()) {
|
if (file.exists() && file.isFile()) {
|
||||||
if (ModUtils::validate(file)) {
|
if (ModUtils::validate(file)) {
|
||||||
// mods can contain resource and data packs so they much be tested first
|
// mods can contain resource and data packs so they must be tested first
|
||||||
qDebug() << file.fileName() << "is a mod";
|
qDebug() << file.fileName() << "is a mod";
|
||||||
return PackedResourceType::Mod;
|
return PackedResourceType::Mod;
|
||||||
} else if (ResourcePackUtils::validate(file)) {
|
} else if (ResourcePackUtils::validate(file)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user