summaryrefslogtreecommitdiffstats
path: root/api/logic
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic')
-rw-r--r--api/logic/minecraft/Mod.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/minecraft/Mod.h b/api/logic/minecraft/Mod.h
index 96ee8174..34022ddd 100644
--- a/api/logic/minecraft/Mod.h
+++ b/api/logic/minecraft/Mod.h
@@ -58,7 +58,8 @@ public:
}
QString name() const
{
- if(m_name.trimmed().isEmpty())
+ QString name = m_name.trimmed();
+ if(name.isEmpty() || name == "Example Mod")
{
return m_mmc_id;
}