diff --git a/init.lua b/init.lua index 069c2eb02f86ae26bfdc91c41cd7deb6ba252aa1..12365977983c2aeb19c5c25b89644d186bf774d1 100644 --- a/init.lua +++ b/init.lua @@ -69,6 +69,7 @@ for id = 1, ledCount do core.register_node("ledtree:led" .. id .. "_" .. texture, { description = "LED" .. id .." " .. texture, tiles = {texture .. ".png",}, + light_source = 10, on_rightclick = function(pos, node, player, itemstack, pointed_thing) change_color(player, id, pos) end,