forked from GeyserMC/Geyser
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:
parent
c4857c6a54
commit
240f41ff03
6 changed files with 21 additions and 13 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue