From 02d2154bbdfcfca4cd764b090b3529152ad1d2fe Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 12 Sep 2018 23:11:30 -0400 Subject: update blox, bobblocks, homedecor, plasticbox, solidcolor, stained glass, unifieddyes, and unifiedmesecons --- plasticbox/init.lua | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'plasticbox') diff --git a/plasticbox/init.lua b/plasticbox/init.lua index 5a94b35..c29f6f2 100644 --- a/plasticbox/init.lua +++ b/plasticbox/init.lua @@ -96,20 +96,3 @@ minetest.register_lbm({ end, }) -minetest.register_lbm({ - name = "plasticbox:recolor", - label = "Convert to new palette", - nodenames = {"plasticbox:plasticbox"}, - 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