Add group not_in_creative_inventory for moremesecons_switchtorch:switchtorch_off

This commit is contained in:
palige 2015-08-29 18:30:48 +02:00
parent f134e69f1a
commit 57c8b9b371

View File

@ -58,7 +58,7 @@ minetest.register_node("moremesecons_switchtorch:switchtorch_off", {
walkable = false, walkable = false,
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
selection_box = torch_selectionbox, selection_box = torch_selectionbox,
groups = {dig_immediate = 3}, groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "moremesecons_switchtorch:switchtorch_on", drop = "moremesecons_switchtorch:switchtorch_on",
mesecons = {receptor = { mesecons = {receptor = {
state = mesecon.state.off, state = mesecon.state.off,