fix: check resource pack validity solely using pack format
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
236c196e68
commit
8cac61f0be
@ -117,5 +117,5 @@ bool ResourcePack::applyFilter(QRegularExpression filter) const
|
|||||||
|
|
||||||
bool ResourcePack::valid() const
|
bool ResourcePack::valid() const
|
||||||
{
|
{
|
||||||
return s_pack_format_versions.contains(m_pack_format);
|
return m_pack_format != 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user