Organized config file definitions.

This commit is contained in:
MobiusDev
2017-08-29 00:35:53 +00:00
parent aec0c9dddb
commit 729c08c372
24 changed files with 160 additions and 160 deletions

View File

@@ -115,7 +115,7 @@ public final class FortSiegeManager
private void load()
{
final Properties siegeSettings = new Properties();
final File file = new File(Config.FORTSIEGE_CONFIGURATION_FILE);
final File file = new File(Config.FORTSIEGE_CONFIG_FILE);
try (InputStream is = new FileInputStream(file))
{
siegeSettings.load(is);

View File

@@ -118,7 +118,7 @@ public final class SiegeManager
private void load()
{
final PropertiesParser siegeSettings = new PropertiesParser(Config.SIEGE_CONFIGURATION_FILE);
final PropertiesParser siegeSettings = new PropertiesParser(Config.SIEGE_CONFIG_FILE);
// Siege setting
_attackerMaxClans = siegeSettings.getInt("AttackerMaxClans", 500);