Skip to content
Snippets Groups Projects
Verified Commit c426b94c authored by Tuxilio's avatar Tuxilio
Browse files

LEDs are LEDs now (defined as light_source)

parent ed4672f3
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment