summaryrefslogtreecommitdiff
path: root/plasticbox
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 23:11:30 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 23:11:30 -0400
commit02d2154bbdfcfca4cd764b090b3529152ad1d2fe (patch)
tree179075dd419b97b3773a24a41a367f7979d29de6 /plasticbox
parent818eabb92fe8646db505fe985d16e65c9df1b761 (diff)
downloaddreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.gz
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.bz2
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.xz
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.zip
update blox, bobblocks, homedecor, plasticbox, solidcolor, stained glass,
unifieddyes, and unifiedmesecons
Diffstat (limited to 'plasticbox')
-rw-r--r--plasticbox/init.lua17
1 files changed, 0 insertions, 17 deletions
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
-})