mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
NOISSUE reload pack profile in online mode so the Minecraft release date is loaded properly
This commit is contained in:
parent
e1b7630677
commit
29c78b56fc
@ -46,7 +46,7 @@ CreateShortcutDialog::CreateShortcutDialog(QWidget *parent, InstancePtr instance
|
||||
// TODO: check if version is affected by crashing when joining servers on launch, ideally in meta
|
||||
|
||||
auto mcInstance = std::dynamic_pointer_cast<MinecraftInstance>(instance);
|
||||
mcInstance->getPackProfile()->reload(Net::Mode::Offline);
|
||||
mcInstance->getPackProfile()->reload(Net::Mode::Online);
|
||||
if (mcInstance && mcInstance->getPackProfile()->getComponent("net.minecraft")->getReleaseDateTime() >= g_VersionFilterData.quickPlayBeginsDate)
|
||||
{
|
||||
mcInstance->worldList()->update();
|
||||
|
Loading…
Reference in New Issue
Block a user