May or may not work.... again

This commit is contained in:
EOT3000 2019-12-02 11:54:07 -05:00 committed by GitHub
parent 90419fc692
commit 1e12f5eac9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,11 @@ public class GeyserBungeePlugin extends Plugin implements IGeyserBootstrap {
return; return;
} }
} }
try {
configuration = ConfigurationProvider.getProvider(YamlConfiguration.class).load(new File(getDataFolder(), "config.yml")); configuration = ConfigurationProvider.getProvider(YamlConfiguration.class).load(new File(getDataFolder(), "config.yml"));
} catch(IOException e) {
e.printStackTrace();
}
if (configuration == null) { if (configuration == null) {
getLogger().severe("Failed to read/create config.yml! Make sure it's up to date and/or readable+writable!"); getLogger().severe("Failed to read/create config.yml! Make sure it's up to date and/or readable+writable!");