//Saves the generator's settings to the world's storage func (sf *SuperFlat) Save(w *world.World) { sav := savableGenerator{sf.GenerationCode()} w.Write(saveKey, &sav) }