A Minecraft datapack generator written in go.

fix(function): wrong line break

+1 -1
+1 -1
function/emitter.go
··· 6 6 ) 7 7 8 8 func (f Function) Emit()(generator.File, error) { 9 - content := strings.Join(f.commands, "/n") 9 + content := strings.Join(f.commands, "\n") 10 10 return generator.File{ 11 11 Path: "data/%namespace%/function/" + f.name + ".mcfunction", 12 12 Content: []byte(content),