Auto-generated kiln recipes now actually save.
parent
1ec7450c93
commit
3a9b622c6a
|
@ -221,7 +221,11 @@ public class KilnConfig implements IJsonConfig
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void saveAutoJson(File subfolder)
|
public void saveAutoJson(File subfolder)
|
||||||
{ }
|
{
|
||||||
|
String json = BBJsonLoader.serializeObject(autoRecipes);
|
||||||
|
File autof = new File(subfolder, "auto.json");
|
||||||
|
FileUtil.overwriteAllText(autof, json);
|
||||||
|
}
|
||||||
|
|
||||||
public JsonKilnRecipeHandler getMainRecipes()
|
public JsonKilnRecipeHandler getMainRecipes()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue