diff --git a/launcher/modplatform/flame/FlamePackExportTask.cpp b/launcher/modplatform/flame/FlamePackExportTask.cpp
index cbb57afa6..1460a4c3b 100644
--- a/launcher/modplatform/flame/FlamePackExportTask.cpp
+++ b/launcher/modplatform/flame/FlamePackExportTask.cpp
@@ -37,7 +37,6 @@
#include "tasks/Task.h"
const QString FlamePackExportTask::TEMPLATE = "
{name}{authors}\n";
-const QStringList FlamePackExportTask::PREFIXES({ "mods/", "resourcepacks/" });
const QStringList FlamePackExportTask::FILE_EXTENSIONS({ "jar", "zip" });
FlamePackExportTask::FlamePackExportTask(const QString& name,
@@ -116,8 +115,6 @@ void FlamePackExportTask::collectHashes()
for (const QFileInfo& file : files) {
const QString relative = gameRoot.relativeFilePath(file.absoluteFilePath());
// require sensible file types
- if (!std::any_of(PREFIXES.begin(), PREFIXES.end(), [&relative](const QString& prefix) { return relative.startsWith(prefix); }))
- continue;
if (!std::any_of(FILE_EXTENSIONS.begin(), FILE_EXTENSIONS.end(), [&relative](const QString& extension) {
return relative.endsWith('.' + extension) || relative.endsWith('.' + extension + ".disabled");
}))
diff --git a/launcher/modplatform/flame/FlamePackExportTask.h b/launcher/modplatform/flame/FlamePackExportTask.h
index b6a6c3529..3dee0a7ea 100644
--- a/launcher/modplatform/flame/FlamePackExportTask.h
+++ b/launcher/modplatform/flame/FlamePackExportTask.h
@@ -42,7 +42,6 @@ class FlamePackExportTask : public Task {
private:
static const QString TEMPLATE;
- static const QStringList PREFIXES;
static const QStringList FILE_EXTENSIONS;
// inputs