diff options
author | Kotolegokot <gkotolegokot@gmail.com> | 2012-08-01 15:58:19 +0600 |
---|---|---|
committer | Kotolegokot <gkotolegokot@gmail.com> | 2012-08-01 15:58:19 +0600 |
commit | 70841d8c8e633650d48341afba12bed44f36ace9 (patch) | |
tree | 6994adc80a45c2d146dbc6e3cf2a209d417f13e1 /mesecons_pressureplates/init.lua | |
parent | 7568182f4ae2a3cb4ede1c1f81fd26ae9252b841 (diff) |
not_in_creative_inventory
Diffstat (limited to 'mesecons_pressureplates/init.lua')
-rw-r--r-- | mesecons_pressureplates/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua index dc09981..ae213c6 100644 --- a/mesecons_pressureplates/init.lua +++ b/mesecons_pressureplates/init.lua @@ -34,7 +34,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", { type = "fixed", fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45}, }, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, drop='"mesecons_pressureplates:pressure_plate_wood_off" 1', after_dig_node = function(pos) mesecon:receptor_off(pos, mesecon:get_rules("pressureplate")) @@ -116,7 +116,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", { type = "fixed", fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45}, }, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, drop='"mesecons_pressureplates:pressure_plate_stone_off" 1', after_dig_node = function(pos) mesecon:receptor_off(pos, mesecon:get_rules("pressureplate")) |