From aa50e41d4a7748110c7bff8491eccc369fc7bd1e Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 12 Sep 2018 22:50:13 -0400 Subject: get rid of 89-> 256 LBM --- init.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/init.lua b/init.lua index 8b8d87a..5fa7829 100644 --- a/init.lua +++ b/init.lua @@ -28,20 +28,3 @@ unifieddyes.register_color_craft({ } }) -minetest.register_lbm({ - name = "solidcolor:recolor", - label = "Convert to new palette", - nodenames = {"solidcolor:block"}, - action = function(pos, node) - local meta = minetest.get_meta(pos) - if meta:get_string("palette") ~= "ext" then - if node.param2 == 0 then - node.param2 = 240 - else - node.param2 = unifieddyes.convert_classic_palette[node.param2] - end - minetest.swap_node(pos,node) - meta:set_string("palette", "ext") - end - end -}) -- cgit v1.2.3