3
0
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:
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 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();
} }
} }