changed config path

master
Alex 2021-12-22 23:20:18 +01:00
parent d38c520870
commit 553cce0f32
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class ConfigHandler {
public void load() throws IOException { public void load() throws IOException {
// TODO change file to yaml // TODO change file to yaml
Configuration configuration = ConfigurationProvider.getProvider(YamlConfiguration.class) Configuration configuration = ConfigurationProvider.getProvider(YamlConfiguration.class)
.load(new File("/home/CloudNet/kraConfigs", "kraSettings.yaml")); .load(new File("/home/kra-minecraft/kraConfigs", "kraSettings.yaml"));
webSocketAccessKey = configuration.getString("web_socket.access_key"); webSocketAccessKey = configuration.getString("web_socket.access_key");
webSocketProtocol = configuration.getString("web_socket.protocol"); webSocketProtocol = configuration.getString("web_socket.protocol");