NOISSUE Refactors and moving of things
This commit is contained in:
parent
593111b144
commit
791221e923
88 changed files with 1894 additions and 1668 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "gui/dialogs/ModEditDialogCommon.h"
|
||||
#include "logic/ModList.h"
|
||||
#include "logic/Mod.h"
|
||||
#include "logic/VersionFilterData.h"
|
||||
#include "logic/minecraft/VersionFilterData.h"
|
||||
|
||||
ModFolderPage::ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id,
|
||||
QString iconName, QString displayName, QString helpPage,
|
||||
|
@ -80,7 +80,7 @@ bool CoreModFolderPage::shouldDisplay() const
|
|||
auto inst = dynamic_cast<OneSixInstance *>(m_inst);
|
||||
if (!inst)
|
||||
return true;
|
||||
auto version = inst->getFullVersion();
|
||||
auto version = inst->getMinecraftProfile();
|
||||
if (!version)
|
||||
return true;
|
||||
if (version->m_releaseTime < g_VersionFilterData.legacyCutoffDate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue