GH-967 make libraries handle their own path prefix
Makes it possible to mix libraries managed by FTB and MultiMC Backport from unstable
This commit is contained in:
parent
50a4a1e19e
commit
f9e186ab70
9 changed files with 82 additions and 29 deletions
|
@ -369,7 +369,7 @@ void VersionFile::applyTo(MinecraftProfile *version)
|
|||
if (index >= 0)
|
||||
{
|
||||
auto existingLibrary = version->libraries[index];
|
||||
if (!addedLibrary->m_base_url.isNull())
|
||||
if (!addedLibrary->m_base_url.isEmpty())
|
||||
{
|
||||
existingLibrary->setBaseUrl(addedLibrary->m_base_url);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue