mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
Use the correct config file location on Fabric and Sponge (#2972)
This commit is contained in:
parent
46efe0ef93
commit
327ccec02f
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user