Merge branch 'master' of https://bitbucket.org/AlgorithmX2/appliedenergistics2 into rv1
This commit is contained in:
commit
e732304cac
1 changed files with 6 additions and 1 deletions
|
@ -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,6 +260,7 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo
|
|||
}
|
||||
}
|
||||
|
||||
if ( updateable )
|
||||
save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue