fix: update parse tests

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2022-12-24 18:08:08 -07:00
parent a7c9b2f172
commit cfce54fe46
5 changed files with 14 additions and 8 deletions

View File

@ -116,7 +116,7 @@ bool processZIP(TexturePack& pack, ProcessingLevel level)
if (level == ProcessingLevel::BasicInfoOnly) {
zip.close();
return false;
return true;
}
if (zip.setCurrentFile("pack.png")) {

View File

@ -37,7 +37,7 @@ bool process(WorldSave& save, ProcessingLevel level = ProcessingLevel::Full);
bool processZIP(WorldSave& pack, ProcessingLevel level = ProcessingLevel::Full);
bool processFolder(WorldSave& pack, ProcessingLevel level = ProcessingLevel::Full);
bool validate(QFileInfo file);
bool validate(QFileInfo file);
} // namespace WorldSaveUtils