summaryrefslogtreecommitdiff
path: root/node_builders.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-03 19:43:32 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-03 19:43:32 -0700
commit3600a745be423d60cea19bd8ac887a5f069a15bf (patch)
treeb38b1295143703eff838446e1014861046bcb4fe /node_builders.lua
parentc1a090137c0f8c35d984c3ca0bafc3dde8d1b872 (diff)
Add intermittent and non-intermittent versions of the diggers.
Diffstat (limited to 'node_builders.lua')
-rw-r--r--node_builders.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_builders.lua b/node_builders.lua
index cabb8f7..41bc85a 100644
--- a/node_builders.lua
+++ b/node_builders.lua
@@ -6,7 +6,7 @@ minetest.register_node("digtron:builder", {
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 4},
drop = "digtron:builder",
sounds = default.node_sound_metal_defaults(),
- paramtype2= 'facedir',
+ paramtype2= "facedir",
tiles = {
"digtron_plate.png^[transformR90",
"digtron_plate.png^[transformR270",
@@ -39,7 +39,7 @@ minetest.register_node("digtron:builder", {
},
on_construct = function(pos)
- local meta = minetest.env:get_meta(pos)
+ local meta = minetest.get_meta(pos)
meta:set_string("formspec",
"size[8,5.2]" ..
default.gui_bg ..