mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +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
|
// TODO: check if version is affected by crashing when joining servers on launch, ideally in meta
|
||||||
|
|
||||||
auto mcInstance = std::dynamic_pointer_cast<MinecraftInstance>(instance);
|
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)
|
if (mcInstance && mcInstance->getPackProfile()->getComponent("net.minecraft")->getReleaseDateTime() >= g_VersionFilterData.quickPlayBeginsDate)
|
||||||
{
|
{
|
||||||
mcInstance->worldList()->update();
|
mcInstance->worldList()->update();
|
||||||
|
Reference in New Issue
Block a user