summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/update
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2019-02-19 01:00:03 +0100
committerPetr Mrázek <peterix@gmail.com>2019-02-19 01:00:03 +0100
commit9c82adaee57a9da5ef818143b89f30c2439f68be (patch)
tree359fb9f866854acfc72881a4e0fcd93af046f1d4 /api/logic/minecraft/update
parent0a99d037c45803ecf472d82fb794e05be431646f (diff)
downloadMultiMC-9c82adaee57a9da5ef818143b89f30c2439f68be.tar
MultiMC-9c82adaee57a9da5ef818143b89f30c2439f68be.tar.gz
MultiMC-9c82adaee57a9da5ef818143b89f30c2439f68be.tar.lz
MultiMC-9c82adaee57a9da5ef818143b89f30c2439f68be.tar.xz
MultiMC-9c82adaee57a9da5ef818143b89f30c2439f68be.zip
GH-2209 Fix sounds in old (pre-1.6) versions
Diffstat (limited to 'api/logic/minecraft/update')
-rw-r--r--api/logic/minecraft/update/AssetUpdateTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/update/AssetUpdateTask.cpp b/api/logic/minecraft/update/AssetUpdateTask.cpp
index 1661822d..051b1279 100644
--- a/api/logic/minecraft/update/AssetUpdateTask.cpp
+++ b/api/logic/minecraft/update/AssetUpdateTask.cpp
@@ -60,7 +60,7 @@ void AssetUpdateTask::assetIndexFinished()
QString asset_fname = "assets/indexes/" + assets->id + ".json";
// FIXME: this looks like a job for a generic validator based on json schema?
- if (!AssetsUtils::loadAssetsIndexJson(assets->id, asset_fname, &index))
+ if (!AssetsUtils::loadAssetsIndexJson(assets->id, asset_fname, index))
{
auto metacache = ENV.metacache();
auto entry = metacache->resolveEntry("asset_indexes", assets->id + ".json");
@@ -101,7 +101,7 @@ bool AssetUpdateTask::abort()
}
else
{
- qWarning() << "Prematurely aborted FMLLibrariesTask";
+ qWarning() << "Prematurely aborted AssetUpdateTask";
}
return true;
}