aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-06-13 23:10:35 +0200
committerGitHub <noreply@github.com>2022-06-13 23:10:35 +0200
commit349fc4143d4c83c50aa6340bbe7dc537a6fbf949 (patch)
treee462fdf55cf6614fa222a8308d05ef3943cc215b /launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
parentcb258146c4f66a1e3ad8f9262030900737d20101 (diff)
parent4be9e6a0bc0a4ac6b47ead7008b8a6a811c63b4d (diff)
downloadPrismLauncher-349fc4143d4c83c50aa6340bbe7dc537a6fbf949.tar.gz
PrismLauncher-349fc4143d4c83c50aa6340bbe7dc537a6fbf949.tar.bz2
PrismLauncher-349fc4143d4c83c50aa6340bbe7dc537a6fbf949.zip
Merge pull request #714 from Scrumplex/fix-tests
Fix mod metadata tests
Diffstat (limited to 'launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp')
-rw-r--r--launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp b/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
index cbe16567..018bc6e3 100644
--- a/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
+++ b/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
@@ -2,6 +2,7 @@
/*
* PolyMC - Minecraft Launcher
* Copyright (c) 2022 flowln <flowlnlnln@gmail.com>
+* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -35,11 +36,6 @@ void LocalModUpdateTask::executeTask()
{
setStatus(tr("Updating index for mod:\n%1").arg(m_mod.name));
- if(APPLICATION->settings()->get("DontUseModMetadata").toBool()){
- emitSucceeded();
- return;
- }
-
auto pw_mod = Metadata::create(m_index_dir, m_mod, m_mod_version);
Metadata::update(m_index_dir, pw_mod);