minetest.env:* --> minetest.*

This commit is contained in:
Vanessa Ezekowitz
2014-11-30 12:45:42 -05:00
parent dd30838245
commit a413904ecd
5 changed files with 11 additions and 11 deletions

View File

@ -32,7 +32,7 @@ minetest.register_node("technic:coal_alloy_furnace", {
legacy_facedir_simple = true,
sounds = default.node_sound_stone_defaults(),
on_construct = function(pos)
local meta = minetest.env:get_meta(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", formspec)
meta:set_string("infotext", machine_name)
local inv = meta:get_inventory()