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())
|
||||
relativePath = "datapacks";
|
||||
|
||||
return FS::PathCombine(gameRoot(), relativePath);
|
||||
return QDir(gameRoot()).filePath(relativePath);
|
||||
}
|
||||
|
||||
QString MinecraftInstance::resourcePacksDir() const
|
||||
|
||||
Reference in New Issue
Block a user