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
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

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());