diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -316,7 +316,7 @@ for zp = 0, 1 do drop = "pipeworks:pipe_110000_empty", pipelike=1, on_construct = function(pos) - local meta = minetest.env:get_meta(pos) + local meta = minetest.get_meta(pos) meta:set_int("pipelike",1) end, after_place_node = function(pos) @@ -348,7 +348,7 @@ for zp = 0, 1 do drop = "pipeworks:pipe_110000_empty", pipelike=1, on_construct = function(pos) - local meta = minetest.env:get_meta(pos) + local meta = minetest.get_meta(pos) meta:set_int("pipelike",1) end, after_place_node = function(pos) |