Use Path instead of File for floodgate key file in config

...and fix related issues with the file not being found.
This commit is contained in:
RednedEpic 2020-01-26 11:22:21 -06:00
parent c4857c6a54
commit 240f41ff03
6 changed files with 21 additions and 13 deletions

View file

@ -25,7 +25,7 @@
package org.geysermc.common;
import java.io.File;
import java.nio.file.Path;
import java.util.Map;
public interface IGeyserConfiguration {
@ -46,7 +46,7 @@ public interface IGeyserConfiguration {
boolean isAllowThirdPartyCapes();
File getFloodgateKeyFile();
Path getFloodgateKeyFile();
IMetricsInfo getMetrics();