diff options
author | Jeija <norrepli@googlemail.com> | 2012-08-01 07:45:07 -0700 |
---|---|---|
committer | Jeija <norrepli@googlemail.com> | 2012-08-01 07:45:07 -0700 |
commit | 150da24db6947306ae09340bb80249f922a84af8 (patch) | |
tree | d673343390b9ce57f333104df69081e343314c5d /mesecons_pressureplates | |
parent | 7568182f4ae2a3cb4ede1c1f81fd26ae9252b841 (diff) | |
parent | 20d1b9dd524931204e8a69eefaf60a534247acf9 (diff) | |
download | mesecons-150da24db6947306ae09340bb80249f922a84af8.tar mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.gz mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.bz2 mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.xz mesecons-150da24db6947306ae09340bb80249f922a84af8.zip |
Merge pull request #6 from Kotolegokot/master
Some modifications and fixed.
Diffstat (limited to 'mesecons_pressureplates')
-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")) |