From 60c75bce740bb00aa6f4f42de2d7c137bf17dc01 Mon Sep 17 00:00:00 2001
From: Zefram <zefram@fysh.org>
Date: Sat, 26 Apr 2014 21:27:43 +0100
Subject: Fix flashlight light node declarations

The light and light_off node types should be not_in_creative_inventory,
and should drop nothing.
---
 technic/tools/flashlight.lua | 4 ++++
 1 file changed, 4 insertions(+)

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,
-- 
cgit v1.2.3