From 0884f744fc69fb813da5ba0123b1473125768b74 Mon Sep 17 00:00:00 2001 From: ENDev15 Date: Wed, 20 Apr 2016 08:20:05 -0700 Subject: [PATCH] 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. --- chapters/nodes_items_crafting.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chapters/nodes_items_crafting.md b/chapters/nodes_items_crafting.md index 68fda3e..13ead35 100644 --- a/chapters/nodes_items_crafting.md +++ b/chapters/nodes_items_crafting.md @@ -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 %}