1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-08-25 15:30:45 +02:00

Use the correct config file location on Fabric and Sponge (#2972)

This commit is contained in:
Luck
2021-04-07 08:24:38 +01:00
parent 46efe0ef93
commit 327ccec02f

View File

@@ -270,7 +270,7 @@ public abstract class AbstractLuckPermsPlugin implements LuckPermsPlugin {
}
protected Path resolveConfig(String fileName) {
Path configFile = getBootstrap().getDataDirectory().resolve(fileName);
Path configFile = getBootstrap().getConfigDirectory().resolve(fileName);
if (!Files.exists(configFile)) {
try {
Files.createDirectories(configFile.getParent());