summaryrefslogtreecommitdiff
path: root/mesecons_button
diff options
context:
space:
mode:
authorJeija <norrepli@googlemail.com>2012-08-01 07:45:07 -0700
committerJeija <norrepli@googlemail.com>2012-08-01 07:45:07 -0700
commit150da24db6947306ae09340bb80249f922a84af8 (patch)
treed673343390b9ce57f333104df69081e343314c5d /mesecons_button
parent7568182f4ae2a3cb4ede1c1f81fd26ae9252b841 (diff)
parent20d1b9dd524931204e8a69eefaf60a534247acf9 (diff)
downloadmesecons-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_button')
-rw-r--r--mesecons_button/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua
index fbf7c0f..aba1f5f 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -32,7 +32,7 @@ minetest.register_node("mesecons_button:button_on", {
type = "fixed",
fixed = {-0.2, -0.15, 0.4, 0.2, 0.15, 0.5},
},
- groups = {dig_immediate=2},
+ groups = {dig_immediate=2, not_in_creative_inventory=1},
drop = 'mesecons_button:button_off',
description = "Button",
after_dig_node = function(pos, oldnode)