Better lightbars.

This commit is contained in:
A.C.M. 2024-03-02 16:09:00 +01:00
parent 49703e7386
commit 54d008efc2
1 changed files with 3 additions and 3 deletions

View File

@ -465,7 +465,7 @@ minetest.register_node("scifi_nodes:lightbar", {
}, },
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "facedir",
sunlight_propagates = true, sunlight_propagates = true,
light_source = minetest.LIGHT_MAX, light_source = minetest.LIGHT_MAX,
node_box = { node_box = {
@ -475,8 +475,8 @@ minetest.register_node("scifi_nodes:lightbar", {
} }
}, },
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
wallmounted = { fixed = {
{-0.125, -0.5, -0.5, 0.125, -0.375, 0.5}, -- NodeBox1 {-0.125, -0.5, -0.5, 0.125, -0.375, 0.5}, -- NodeBox1
} }
}, },