summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/minecraft/Mod.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/minecraft/Mod.h b/logic/minecraft/Mod.h
index 5b815bc1..19f4c740 100644
--- a/logic/minecraft/Mod.h
+++ b/logic/minecraft/Mod.h
@@ -57,6 +57,10 @@ public:
}
QString name() const
{
+ if(m_name.trimmed().isEmpty())
+ {
+ return m_mmc_id;
+ }
return m_name;
}