mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-08-27 08:14:22 +02:00
Use the correct config file location on Fabric and Sponge (#2972)
This commit is contained in:
@@ -270,7 +270,7 @@ public abstract class AbstractLuckPermsPlugin implements LuckPermsPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected Path resolveConfig(String fileName) {
|
protected Path resolveConfig(String fileName) {
|
||||||
Path configFile = getBootstrap().getDataDirectory().resolve(fileName);
|
Path configFile = getBootstrap().getConfigDirectory().resolve(fileName);
|
||||||
if (!Files.exists(configFile)) {
|
if (!Files.exists(configFile)) {
|
||||||
try {
|
try {
|
||||||
Files.createDirectories(configFile.getParent());
|
Files.createDirectories(configFile.getParent());
|
||||||
|
Reference in New Issue
Block a user