summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 36d799c..4e32d5f 100644
--- a/init.lua
+++ b/init.lua
@@ -184,6 +184,7 @@ minetest.register_node("protector:protect", {
},
selection_box = { type="regular" },
paramtype = "light",
+ light_source = 2,
after_place_node = function(pos, placer)
local meta = minetest.env:get_meta(pos)
@@ -249,6 +250,7 @@ minetest.register_node("protector:protect2", {
groups = {dig_immediate=2},
paramtype = 'light',
paramtype2 = "wallmounted",
+ light_source = 2,
drawtype = "nodebox",
sunlight_propagates = true,
walkable = true,