diff --git a/core/AEConfig.java b/core/AEConfig.java index af02d41c..0e776d26 100644 --- a/core/AEConfig.java +++ b/core/AEConfig.java @@ -97,6 +97,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo public int colorapplicator_battery = 20000; public int staff_battery = 8000; + public boolean updateable = false; + public AEConfig(String path) { super( new File( path + "AppliedEnergistics2.cfg" ) ); @@ -220,6 +222,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo latestTimeStamp = 0; } } + + updateable = true; } private String getListComment(Enum value) @@ -256,7 +260,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo } } - save(); + if ( updateable ) + save(); } @Override