Attempt to fix crash when placing shared chests.

This commit is contained in:
Megaf 2014-06-11 10:19:42 -03:00
parent df3dbc92d8
commit 314fd4e90e

View File

@ -35,7 +35,7 @@ minetest.register_node("more_chests:shared", {
end,
on_construct = function(pos)
local meta = minetest.env:get_meta(pos)
meta:set_string("formspec", formspec(""))
meta:set_string("formspec", get_formspec(""))
meta:set_string("infotext", "Shared Chest")
meta:set_string("owner", "")
local inv = meta:get_inventory()