Node, Items and Crafting: Fixed Shapeless Recipe Example

Minetest was giving an error because the shapeless recipe comprised of three lines, rather than putting everything on one line. This fixes the problem.
master
ENDev15 2016-04-20 08:20:05 -07:00 committed by rubenwardy
parent 41200b0b03
commit 0884f744fc
1 changed files with 1 additions and 3 deletions

View File

@ -239,9 +239,7 @@ need to be in any specific place for it to work.
minetest.register_craft({
type = "shapeless",
output = "mymod:diamond",
recipe = {
{"mymod:diamond_fragments" "mymod:diamond_fragments", "mymod:diamond_fragments"}
}
recipe = {"mymod:diamond_fragments" "mymod:diamond_fragments", "mymod:diamond_fragments"}
})
{% endhighlight %}