Organized config file definitions.
This commit is contained in:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user