summaryrefslogtreecommitdiff
path: root/streetspoles
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-05-27 23:03:34 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-05-27 23:03:34 +0200
commitb9e420c4c3bf685f3a520c100a62420eeb170e24 (patch)
treec46a3a15b1e2a0943d6fce7cd72d24cd0a9fdf36 /streetspoles
parentab5768089729faf4f11924d66bde38805154f3be (diff)
downloadroads-b9e420c4c3bf685f3a520c100a62420eeb170e24.tar
roads-b9e420c4c3bf685f3a520c100a62420eeb170e24.tar.gz
roads-b9e420c4c3bf685f3a520c100a62420eeb170e24.tar.bz2
roads-b9e420c4c3bf685f3a520c100a62420eeb170e24.tar.xz
roads-b9e420c4c3bf685f3a520c100a62420eeb170e24.zip
replace can_dig with diggable
Diffstat (limited to 'streetspoles')
-rw-r--r--streetspoles/init.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/streetspoles/init.lua b/streetspoles/init.lua
index a13e3f5..bd163b7 100644
--- a/streetspoles/init.lua
+++ b/streetspoles/init.lua
@@ -46,14 +46,12 @@ minetest.register_node(":streets:pole_bottom",{
minetest.register_node(":streets:pole_top",{
description = streets.S("Y u no play minetest without cheating?"),
tiles = {"streets_pole.png"},
- groups = {cracky=2,not_in_creative_inventory=1},
+ groups = {not_in_creative_inventory=1},
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
drop = "",
- can_dig = function()
- return false
- end,
+ diggable = false,
node_box = {
type = "fixed",
fixed = {