diff options
Diffstat (limited to 'logic/minecraft/VersionFile.cpp')
-rw-r--r-- | logic/minecraft/VersionFile.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/logic/minecraft/VersionFile.cpp b/logic/minecraft/VersionFile.cpp index 6e2af603..08f53a37 100644 --- a/logic/minecraft/VersionFile.cpp +++ b/logic/minecraft/VersionFile.cpp @@ -75,14 +75,12 @@ void VersionFile::applyTo(MinecraftProfile *version) { version->type = 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; } } |