Default: Alter sand to sandstone recipe
authorparamat <mat.gregory@virginmedia.com>
Fri, 6 Jan 2017 06:15:38 +0000 (06:15 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 7 Jan 2017 22:01:36 +0000 (22:01 +0000)
Craft 4 default:sand to default:sandstone.

Previously, 4 group:sand was craftable to sandstone and sandstone was
craftable back into default:sand, allowing silver and desert sands to
be converted into incorrect colour sandstone and yellow sand.

mods/default/crafting.lua

index 7738be32cb0211834ff4d7d703f847c5e8df6eec..f82b0718d534653478a80d0b58459d8be29a03ed 100644 (file)
@@ -495,10 +495,10 @@ minetest.register_craft({
 })
 
 minetest.register_craft({
-       output = 'default:sandstone',
+       output = "default:sandstone",
        recipe = {
-               {'group:sand', 'group:sand'},
-               {'group:sand', 'group:sand'},
+               {"default:sand", "default:sand"},
+               {"default:sand", "default:sand"},
        }
 })