From c426b94c2c4383f6b4dc71574695a36799234c36 Mon Sep 17 00:00:00 2001 From: Tuxilio <mail@tuxil.io> Date: Fri, 6 Dec 2024 16:14:32 +0100 Subject: [PATCH] LEDs are LEDs now (defined as light_source) --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 069c2eb..1236597 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, -- GitLab