Added forum link to readme
authortenplus1 <kinsellaja@yahoo.com>
Mon, 5 Jan 2015 18:53:00 +0000 (18:53 +0000)
committertenplus1 <kinsellaja@yahoo.com>
Mon, 5 Jan 2015 18:53:00 +0000 (18:53 +0000)
README.md
init.lua

index b244b58..21566cd 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,4 +4,6 @@ minetest-protect
 Protector mod for minetest
 based on glomie's mod, remade by Zeg9 and reworked by TenPlus1 to support minetest 0.4.9 and include protected doors and chests
 
+https://forum.minetest.net/viewtopic.php?f=11&t=9376
+
 Released under WTFPL
\ No newline at end of file
index 36d799c..4e32d5f 100644 (file)
--- 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,