mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 11:26:59 +03:00
GH-1856 Fix metadata version and list loading
Shouldn't crash anymore, shouldn't overwrite data in some bad way anymore either.
This commit is contained in:
parent
d25a7ad3a6
commit
4fa3e2a714
10 changed files with 73 additions and 55 deletions
|
|
@ -17,6 +17,11 @@ ProfilePatch::ProfilePatch(std::shared_ptr<VersionFile> file, const QString& fil
|
|||
{
|
||||
}
|
||||
|
||||
std::shared_ptr<Meta::Version> ProfilePatch::getMeta()
|
||||
{
|
||||
return m_metaVersion;
|
||||
}
|
||||
|
||||
void ProfilePatch::applyTo(MinecraftProfile* profile)
|
||||
{
|
||||
auto vfile = getVersionFile();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue