fix: check resource pack validity solely using pack format

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-11-27 18:41:52 +01:00
parent 236c196e68
commit 8cac61f0be
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -117,5 +117,5 @@ bool ResourcePack::applyFilter(QRegularExpression filter) const
bool ResourcePack::valid() const
{
return s_pack_format_versions.contains(m_pack_format);
return m_pack_format != 0;
}