mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-13 20:44:05 +00:00
Use the correct config file location on Fabric and Sponge (#2972)
This commit is contained in:
1 file changed
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user