summaryrefslogtreecommitdiff
path: root/ilights
diff options
context:
space:
mode:
Diffstat (limited to 'ilights')
-rw-r--r--ilights/init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/ilights/init.lua b/ilights/init.lua
index 6f6fdd4..eed4b03 100644
--- a/ilights/init.lua
+++ b/ilights/init.lua
@@ -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
})