Merge branch 'master' of https://bitbucket.org/AlgorithmX2/appliedenergistics2 into rv1
This commit is contained in:
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user