3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Merge pull request #591 from aurorasmiles/fix-filedir

fix filepath in Local Configuration
Dieser Commit ist enthalten in:
NotMyFault 2020-08-30 12:49:01 +02:00 committet von GitHub
Commit 4771297add
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -25,6 +25,7 @@ import com.sk89q.worldedit.util.report.Unreported;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.nio.file.Path;
/**
* YAMLConfiguration but with setting for no op permissions and plugin root data folder.
@ -68,7 +69,7 @@ public class BukkitConfiguration extends YAMLConfiguration {
}
@Override
public File getWorkingDirectory() {
return plugin.getDataFolder();
public Path getWorkingDirectoryPath() {
return plugin.getDataFolder().toPath();
}
}