summaryrefslogtreecommitdiff
path: root/mesecons_detector
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_detector')
-rw-r--r--mesecons_detector/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua
index 5f4d212..8f734aa 100644
--- a/mesecons_detector/init.lua
+++ b/mesecons_detector/init.lua
@@ -3,7 +3,7 @@ minetest.register_node("mesecons_detector:object_detector_off", {
tile_images = {"default_steel_block.png", "default_steel_block.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png"},
paramtype = "light",
walkable = true,
- groups = {cracky=3},
+ groups = {cracky=3, mesecon = 1},
description="Player Detector",
})
@@ -11,7 +11,7 @@ minetest.register_node("mesecons_detector:object_detector_on", {
tile_images = {"default_steel_block.png", "default_steel_block.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png"},
paramtype = "light",
walkable = true,
- groups = {cracky=3,not_in_creative_inventory=1},
+ groups = {cracky=3,not_in_creative_inventory=1, mesecon = 1},
drop = 'mesecons_detector:object_detector_off',
description="Player Detector",
after_dig_node = function(pos)