From e9477dd45dcffd4d4017202dd4b5999403fedb5e Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 16 Feb 2017 16:58:48 -0500 Subject: [PATCH] don't run LBM at every load --- homedecor/bathroom_furniture.lua | 2 +- homedecor/bedroom.lua | 2 +- homedecor/books.lua | 2 +- homedecor/furniture.lua | 2 +- homedecor/lighting.lua | 4 ++-- homedecor/shutters.lua | 2 +- homedecor/window_treatments.lua | 2 +- lavalamp/init.lua | 2 +- lrfurn/armchairs.lua | 2 +- lrfurn/longsofas.lua | 2 +- lrfurn/sofas.lua | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/homedecor/bathroom_furniture.lua b/homedecor/bathroom_furniture.lua index 50ee8419..0e839fda 100644 --- a/homedecor/bathroom_furniture.lua +++ b/homedecor/bathroom_furniture.lua @@ -137,7 +137,7 @@ 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 diff --git a/homedecor/bedroom.lua b/homedecor/bedroom.lua index ffab0490..1a7e42f8 100644 --- a/homedecor/bedroom.lua +++ b/homedecor/bedroom.lua @@ -228,7 +228,7 @@ end minetest.register_lbm({ name = "homedecor:convert_beds", label = "Convert homedecor static bed nodes to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_bed_nodes, action = function(pos, node) local name = node.name diff --git a/homedecor/books.lua b/homedecor/books.lua index b33941ae..a2213ac4 100644 --- a/homedecor/books.lua +++ b/homedecor/books.lua @@ -187,7 +187,7 @@ end minetest.register_lbm({ name = "homedecor:convert_books", label = "Convert homedecor books to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_static_books, action = function(pos, node) local name = node.name diff --git a/homedecor/furniture.lua b/homedecor/furniture.lua index a2b2775d..30e8e067 100644 --- a/homedecor/furniture.lua +++ b/homedecor/furniture.lua @@ -168,7 +168,7 @@ table.insert(homedecor.old_static_chairs, "homedecor:chair") minetest.register_lbm({ name = "homedecor:convert_chairs", label = "Convert homedecor chairs to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_static_chairs, action = function(pos, node) local name = node.name diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index d359b7fb..62a88a94 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -557,7 +557,7 @@ end minetest.register_lbm({ name = "homedecor:convert_lighting", label = "Convert homedecor glowlights, table lamps, and standing lamps to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_static_nodes, action = function(pos, node) local name = node.name @@ -657,7 +657,7 @@ homedecor.old_static_desk_lamps = { minetest.register_lbm({ name = "homedecor:convert_desk_lamps", label = "Convert homedecor desk lamps to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_static_desk_lamps, action = function(pos, node) local name = node.name diff --git a/homedecor/shutters.lua b/homedecor/shutters.lua index 8feb0e73..ab1321d9 100644 --- a/homedecor/shutters.lua +++ b/homedecor/shutters.lua @@ -73,7 +73,7 @@ end minetest.register_lbm({ name = "homedecor:convert_shutters", label = "Convert shutter static nodes to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_shutter_nodes, action = function(pos, node) local name = node.name diff --git a/homedecor/window_treatments.lua b/homedecor/window_treatments.lua index b1f7aff6..06328d3b 100644 --- a/homedecor/window_treatments.lua +++ b/homedecor/window_treatments.lua @@ -230,7 +230,7 @@ end minetest.register_lbm({ name = "homedecor:convert_curtains", label = "Convert static curtain nodes to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = homedecor.old_static_curtain_nodes, action = function(pos, node) local name = node.name diff --git a/lavalamp/init.lua b/lavalamp/init.lua index bd60e3b9..bac16167 100644 --- a/lavalamp/init.lua +++ b/lavalamp/init.lua @@ -97,7 +97,7 @@ end minetest.register_lbm({ name = "lavalamp:convert", label = "Convert lava lamps to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = lavalamp.old_static_nodes, action = function(pos, node) local name = node.name diff --git a/lrfurn/armchairs.lua b/lrfurn/armchairs.lua index 3891266a..4fdb5127 100644 --- a/lrfurn/armchairs.lua +++ b/lrfurn/armchairs.lua @@ -66,7 +66,7 @@ end minetest.register_lbm({ name = "lrfurn:convert_armchairs", label = "Convert lrfurn armchairs to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = lrfurn.old_static_armchairs, action = function(pos, node) local name = node.name diff --git a/lrfurn/longsofas.lua b/lrfurn/longsofas.lua index 06f66fbe..3aec1327 100644 --- a/lrfurn/longsofas.lua +++ b/lrfurn/longsofas.lua @@ -78,7 +78,7 @@ end minetest.register_lbm({ name = "lrfurn:convert_longsofas", label = "Convert lrfurn long sofas to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = lrfurn.old_static_longsofas, action = function(pos, node) local name = node.name diff --git a/lrfurn/sofas.lua b/lrfurn/sofas.lua index 98925960..6bdc317f 100644 --- a/lrfurn/sofas.lua +++ b/lrfurn/sofas.lua @@ -78,7 +78,7 @@ end minetest.register_lbm({ name = "lrfurn:convert_sofas", label = "Convert lrfurn short sofas to use param2 color", - run_at_every_load = true, + run_at_every_load = false, nodenames = lrfurn.old_static_sofas, action = function(pos, node) local name = node.name