i am trying to make a config and i have the following line:
@PreInit
public void PreLoad(FMLPreInitializationEvent event){
Configuration config = new Configuration(event.getSuggestedConfigurationFile());
config.load();
String CustomRecord1Name = config.getOrCreateProperty("CustomRecord1Name", Configuration.CATEGORY_GENERAL, "nothing").value;
config.save();
}
and eclipse is telling me the method getOrCreateProperty is undefined for the type Configuration.