diff options
Diffstat (limited to 'logic/minecraft/MinecraftVersion.cpp')
-rw-r--r-- | logic/minecraft/MinecraftVersion.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/logic/minecraft/MinecraftVersion.cpp b/logic/minecraft/MinecraftVersion.cpp index 4225fa50..8a1ac501 100644 --- a/logic/minecraft/MinecraftVersion.cpp +++ b/logic/minecraft/MinecraftVersion.cpp @@ -192,14 +192,12 @@ void MinecraftVersion::applyTo(MinecraftProfile *version) { version->type = m_type; } - if (!m_releaseTimeString.isNull()) + if (!m_releaseTime.isNull()) { - version->m_releaseTimeString = m_releaseTimeString; version->m_releaseTime = m_releaseTime; } - if (!m_updateTimeString.isNull()) + if (!m_updateTime.isNull()) { - version->m_updateTimeString = m_updateTimeString; version->m_updateTime = m_updateTime; } version->traits.unite(m_traits); |