Allow absolute path for global data packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -405,7 +405,7 @@ QString MinecraftInstance::dataPacksDir()
|
|||||||
if (relativePath.isEmpty())
|
if (relativePath.isEmpty())
|
||||||
relativePath = "datapacks";
|
relativePath = "datapacks";
|
||||||
|
|
||||||
return FS::PathCombine(gameRoot(), relativePath);
|
return QDir(gameRoot()).filePath(relativePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString MinecraftInstance::resourcePacksDir() const
|
QString MinecraftInstance::resourcePacksDir() const
|
||||||
|
|||||||
Reference in New Issue
Block a user