From 1c141cdeedafdde91fb9ec74d0c29979c33f0382 Mon Sep 17 00:00:00 2001 From: Milan* Date: Wed, 11 Jan 2017 22:55:47 +0100 Subject: [PATCH] update id of wool stairs --- init.lua | 2 +- stairs.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 0dbafc4..45054a1 100644 --- a/init.lua +++ b/init.lua @@ -33,7 +33,7 @@ minetest.register_on_joinplayer(function(player) --return "" -- else -- core.chat_send_all("found nothing :(, anyway...") - --[[end + end player:set_properties({ visual = "mesh", textures = {texture..".png"}, diff --git a/stairs.lua b/stairs.lua index 733864d..edf0ab1 100644 --- a/stairs.lua +++ b/stairs.lua @@ -7,7 +7,7 @@ for _,name in ipairs({"red", "green", "white", "black", "blue", "brown", "cyan", return end local desc = tmp.description - stairs.register_stair_and_slab("wool_"..name, nodename, + stairs.register_stair_and_slab(name, nodename, tmp.groups, {"wool_"..name..".png"}, desc.." Stair",