summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/tools/flashlight.lua4
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,