diff options
author | Zefram <zefram@fysh.org> | 2014-04-26 21:27:43 +0100 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-04-27 14:43:31 -0400 |
commit | 60c75bce740bb00aa6f4f42de2d7c137bf17dc01 (patch) | |
tree | 1660f6b8a6e746a20bbaa121a82706da5b93c9fa | |
parent | e10335e952f8c949de20e70ceba373b899d3ca7b (diff) |
Fix flashlight light node declarations
The light and light_off node types should be not_in_creative_inventory,
and should drop nothing.
-rw-r--r-- | technic/tools/flashlight.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/technic/tools/flashlight.lua b/technic/tools/flashlight.lua index e7e2dad..1a3c1cf 100644 --- a/technic/tools/flashlight.lua +++ b/technic/tools/flashlight.lua @@ -135,6 +135,8 @@ minetest.register_node("technic:light", { drawtype = "glasslike", tile_images = {"technic_light.png"}, paramtype = "light", + groups = {not_in_creative_inventory=1}, + drop = "", walkable = false, buildable_to = true, sunlight_propagates = true, @@ -146,6 +148,8 @@ minetest.register_node("technic:light_off", { drawtype = "glasslike", tile_images = {"technic_light.png"}, paramtype = "light", + groups = {not_in_creative_inventory=1}, + drop = "", walkable = false, buildable_to = true, sunlight_propagates = true, |