From f9e186ab704401416832d723c2e70a0f7a7435b3 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Wed, 27 May 2015 01:30:18 +0200 Subject: GH-967 make libraries handle their own path prefix Makes it possible to mix libraries managed by FTB and MultiMC Backport from unstable --- logic/minecraft/VersionFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/minecraft/VersionFile.cpp') diff --git a/logic/minecraft/VersionFile.cpp b/logic/minecraft/VersionFile.cpp index 0a20efcb..6ef5a8bc 100644 --- a/logic/minecraft/VersionFile.cpp +++ b/logic/minecraft/VersionFile.cpp @@ -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); } -- cgit