This commit is contained in:
AlgorithmX2 2014-06-19 20:19:28 -05:00
commit e732304cac

View file

@ -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