From 01629913382ee5abc2c189bdbc51a86811ae618b Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Tue, 25 Sep 2018 21:33:14 +0300 Subject: bug fix --- mossy_blocks.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mossy_blocks.lua') diff --git a/mossy_blocks.lua b/mossy_blocks.lua index 1d2c98a..ef7a5b2 100644 --- a/mossy_blocks.lua +++ b/mossy_blocks.lua @@ -27,7 +27,7 @@ minetest.register_craft({ if stairs and stairs.mod and stairs.mod == "redo" then - stairs.register_all(short_name, node.name, + stairs.register_all(node.short_name, node.name, {cracky = 3, stone = 1}, {node.tile}, node.desc .. " Stair", @@ -36,7 +36,7 @@ if stairs and stairs.mod and stairs.mod == "redo" then elseif minetest.global_exists("stairsplus") then - stairsplus:register_all("minetest_errata", short_name, node.name, { + stairsplus:register_all("minetest_errata", node.short_name, node.name, { description = node.desc, tiles = {node.tile}, groups = {cracky = 3, stone = 1}, @@ -45,7 +45,7 @@ elseif minetest.global_exists("stairsplus") then else - stairs.register_stair_and_slab(short_name, node.name, + stairs.register_stair_and_slab(node.short_name, node.name, {cracky = 3, stone = 1}, {node.tile}, node.desc .. " Stair", -- cgit v1.2.3