diff options
Diffstat (limited to 'unifiedbricks')
-rw-r--r-- | unifiedbricks/init.lua | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/unifiedbricks/init.lua b/unifiedbricks/init.lua index 5c675f9..e72b7f4 100644 --- a/unifiedbricks/init.lua +++ b/unifiedbricks/init.lua @@ -379,24 +379,4 @@ minetest.register_lbm({ end }) -minetest.register_lbm({ - name = "unifiedbricks:recolor_bricks", - label = "Convert 89-color bricks to use UD extended palette", - run_at_every_load = false, - nodenames = { - "unifiedbricks:clayblock", - "unifiedbricks:brickblock", - "unifiedbricks:brickblock_multicolor_dark", - "unifiedbricks:brickblock_multicolor_medium", - "unifiedbricks:brickblock_multicolor_light", - }, - action = function(pos, node) - local meta = minetest.get_meta(pos) - if meta:get_string("palette") ~= "ext" then - minetest.swap_node(pos, { name = node.name, param2 = unifieddyes.convert_classic_palette[node.param2] }) - meta:set_string("palette", "ext") - end - end -}) - print("[UnifiedBricks] Loaded!") |