Remove .env: old API usage.

Original title: 🐈
This commit is contained in:
HybridDog
2016-04-01 21:13:31 -07:00
committed by Auke Kok
parent 4890dc8c7e
commit a8183cfbd3
4 changed files with 21 additions and 21 deletions

View File

@ -9,7 +9,7 @@ minetest.register_node("more_chests:wifi", {
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)
local meta = minetest.env:get_meta(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec",
"size[8,9]"..
"list[current_player;more_chests:wifi;0,0;8,4;]"..