Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 13:00:05 +01:00
Merge pull request #591 from aurorasmiles/fix-filedir
fix filepath in Local Configuration
Dieser Commit ist enthalten 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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren