mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update GeyserConnector.java
This commit is contained in:
parent
2fb0b99696
commit
3787396e8a
1 changed files with 2 additions and 2 deletions
|
|
@ -114,11 +114,11 @@ public class GeyserConnector implements Connector {
|
||||||
logger.info("******************************************");
|
logger.info("******************************************");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
File configFile = FileUtils.fileOrCopiedFromResource("config.yml", (x) -> x.replaceAll("generateduuid", UUID.randomUUID().toString()));
|
File configFile = FileUtils.fileOrCopiedFromResource("setup.yml", (x) -> x.replaceAll("generateduuid", UUID.randomUUID().toString()));
|
||||||
|
|
||||||
config = FileUtils.loadConfig(configFile, GeyserConfiguration.class);
|
config = FileUtils.loadConfig(configFile, GeyserConfiguration.class);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
logger.severe("Failed to read/create config.yml! Make sure it's up to date and/or readable+writable!", ex);
|
logger.severe("Failed to read/create setup.yml! Make sure it's up to date and/or readable+writable!", ex);
|
||||||
shutdown();
|
shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue