Refactor ResourcePack

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-07-07 02:10:22 +03:00
parent 0b6ce5525d
commit 23ffc4d8b9
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
11 changed files with 114 additions and 358 deletions

View file

@ -180,8 +180,10 @@ bool LocalWorldSaveParseTask::abort()
void LocalWorldSaveParseTask::executeTask()
{
if (!WorldSaveUtils::process(m_save))
if (!WorldSaveUtils::process(m_save)) {
emitFailed("this is not a world");
return;
}
if (m_aborted)
emitAborted();