summaryrefslogtreecommitdiff
path: root/mesecons_walllever
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_walllever')
-rw-r--r--mesecons_walllever/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index 4f27a00..144c734 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -25,7 +25,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
selection_box = {
type = "wallmounted",
},
- groups = {dig_immediate=2},
+ groups = {dig_immediate=2,not_in_creative_inventory=1},
drop = '"mesecons_walllever:wall_lever_off" 1',
description="Lever",
after_dig_node = function(pos, oldnode)