mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +00:00
Merge pull request #591 from aurorasmiles/fix-filedir
fix filepath in Local Configuration
This commit is contained in:
commit
4771297add
@ -25,6 +25,7 @@ import com.sk89q.worldedit.util.report.Unreported;
|
|||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* YAMLConfiguration but with setting for no op permissions and plugin root data folder.
|
* YAMLConfiguration but with setting for no op permissions and plugin root data folder.
|
||||||
@ -68,7 +69,7 @@ public class BukkitConfiguration extends YAMLConfiguration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public File getWorkingDirectory() {
|
public Path getWorkingDirectoryPath() {
|
||||||
return plugin.getDataFolder();
|
return plugin.getDataFolder().toPath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user