mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-09-07 05:35:14 +00:00
NOISSUE reload pack profile in online mode so the Minecraft release date is loaded properly
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user