mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Allow absolute path for global data packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
ed96f2064b
commit
ea82d44aab
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue