summaryrefslogtreecommitdiff
path: root/homedecor/bathroom_furniture.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-16 17:05:50 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-16 17:05:50 -0500
commit784ba2e68ca534b4355ecc26509e53c214f13977 (patch)
tree034367a2741bad3e2b6fa2727dd86b8ece387cc2 /homedecor/bathroom_furniture.lua
parentc66f03b6fe2fc6c4d9d4c05be5e61fc1b27c1327 (diff)
downloaddreambuilder_modpack-784ba2e68ca534b4355ecc26509e53c214f13977.tar
dreambuilder_modpack-784ba2e68ca534b4355ecc26509e53c214f13977.tar.gz
dreambuilder_modpack-784ba2e68ca534b4355ecc26509e53c214f13977.tar.bz2
dreambuilder_modpack-784ba2e68ca534b4355ecc26509e53c214f13977.tar.xz
dreambuilder_modpack-784ba2e68ca534b4355ecc26509e53c214f13977.zip
update several mods and add a few
updated: blox, bobblocks, castle, homedecor, coloredwood, ilights, stainedglass, unifiedbricks added: cheapie's rgblightstone, digistuff, unifiedmesecons, and solidcolor
Diffstat (limited to 'homedecor/bathroom_furniture.lua')
-rw-r--r--homedecor/bathroom_furniture.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/homedecor/bathroom_furniture.lua b/homedecor/bathroom_furniture.lua
index 585327b..0e839fd 100644
--- a/homedecor/bathroom_furniture.lua
+++ b/homedecor/bathroom_furniture.lua
@@ -137,13 +137,13 @@ local old_to_color = {
minetest.register_lbm({
name = "homedecor:convert_bathroom_tiles",
label = "Convert bathroom tiles to use param2 color",
- run_at_every_load = true,
+ run_at_every_load = false,
nodenames = homedecor.old_static_bathroom_tiles,
action = function(pos, node)
local name = node.name
local newname = "homedecor:bathroom_tiles_light"
- local a,b = string.find(node.name, "_")
- local color = string.sub(node.name, a + 1)
+ local a = string.find(name, "_")
+ local color = string.sub(name, a + 1)
if color == "tan" then
color = "yellow_s50"