tangled
alpha
login
or
join now
cosmeak.dev
/
weave
0
fork
atom
A Minecraft datapack generator written in go.
0
fork
atom
overview
issues
pulls
pipelines
fix(function): wrong line break
cosmeak.dev
2 months ago
2656d3bb
c0ba57b5
+1
-1
1 changed file
expand all
collapse all
unified
split
function
emitter.go
+1
-1
function/emitter.go
···
6
6
)
7
7
8
8
func (f Function) Emit()(generator.File, error) {
9
9
-
content := strings.Join(f.commands, "/n")
9
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),