Auto-generated kiln recipes now actually save.

master
sealedinterface 2016-06-20 12:09:55 -07:00
parent 1ec7450c93
commit 3a9b622c6a
1 changed files with 5 additions and 1 deletions

View File

@ -221,7 +221,11 @@ public class KilnConfig implements IJsonConfig
@Override
public void saveAutoJson(File subfolder)
{ }
{
String json = BBJsonLoader.serializeObject(autoRecipes);
File autof = new File(subfolder, "auto.json");
FileUtil.overwriteAllText(autof, json);
}
public JsonKilnRecipeHandler getMainRecipes()
{