use unified dyes auto-color feature

master
Vanessa Ezekowitz 2017-03-18 05:54:16 -04:00
parent 99e11b555d
commit b1f7ccf16d
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ minetest.register_node("ilights:light", {
light_source = 14,
selection_box = lamp_cbox,
node_box = lamp_cbox,
after_place_node = unifieddyes.fix_rotation,
after_place_node = function(pos, placer, itemstack, pointed_thing)
unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
end,
after_dig_node = unifieddyes.after_dig_node
})