diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-27 18:41:52 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-27 18:41:52 +0100 |
commit | 8cac61f0bea17036346438761728c3b7bef4fbeb (patch) | |
tree | b3cc5b1b104ee7a058d78bc869e668d466518f50 /launcher/minecraft/mod/ResourcePack.cpp | |
parent | 236c196e681dcbf0547677260d141a7e48047b43 (diff) | |
download | PrismLauncher-8cac61f0bea17036346438761728c3b7bef4fbeb.tar.gz PrismLauncher-8cac61f0bea17036346438761728c3b7bef4fbeb.tar.bz2 PrismLauncher-8cac61f0bea17036346438761728c3b7bef4fbeb.zip |
fix: check resource pack validity solely using pack format
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/minecraft/mod/ResourcePack.cpp')
-rw-r--r-- | launcher/minecraft/mod/ResourcePack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/ResourcePack.cpp b/launcher/minecraft/mod/ResourcePack.cpp index ef0370d0..4a9ad21b 100644 --- a/launcher/minecraft/mod/ResourcePack.cpp +++ b/launcher/minecraft/mod/ResourcePack.cpp @@ -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; } |