bugfix: ignore case with boolean config values.
This commit is contained in:
1 parent
d89cd97eb6
commit
d5d957a910
3 files changed
+3
-3
No files matched your search
@@ -349,7 +349,7 @@ public enum MaintenanceManager {
|
||||
|
||||
// Run maintenance on player buildings
|
||||
|
||||
if ((boolean) ConfigManager.MB_WORLD_MAINTENANCE.getValue().equals("true"))
|
||||
if ((boolean) ConfigManager.MB_WORLD_MAINTENANCE.getValue().equalsIgnoreCase("true"))
|
||||
processBuildingMaintenance();
|
||||
else
|
||||
Logger.info("Maintenance Costings: DISABLED");
|
||||
|
||||
Reference in new issue
Block a user