fixed shader packs detection
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
913d81e371
commit
463608b289
9 changed files with 42 additions and 16 deletions
|
@ -286,8 +286,10 @@ bool LocalResourcePackParseTask::abort()
|
|||
|
||||
void LocalResourcePackParseTask::executeTask()
|
||||
{
|
||||
if (!ResourcePackUtils::process(m_resource_pack))
|
||||
if (!ResourcePackUtils::process(m_resource_pack)) {
|
||||
emitFailed("this is not a resource pack");
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_aborted)
|
||||
emitAborted();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue