Moved config file and fixed some warnings

This commit is contained in:
Jacob Swehla
2017-12-29 11:25:31 -06:00
parent fde79ed97e
commit b43cf9ac33
3 changed files with 38 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ public class ServerConfiguration {
public ServerConfiguration(String file) {
try {
properties = new Properties();
InputStream is = ServerConfiguration.class.getClassLoader().getResourceAsStream("config.properties");
InputStream is = new FileInputStream("config.properties");
properties.load(is);
} catch (IOException e) {