Update shared.lua

This commit is contained in:
Megaf 2014-06-11 09:34:36 -03:00
parent 8ddbd92cf3
commit 2cc137207f

View File

@ -95,7 +95,7 @@ minetest.register_node("more_chests:shared", {
local meta = minetest.env:get_meta(pos);
if meta:get_string("owner") == sender:get_player_name() then
meta:set_string("shared", fields.shared);
meta:set_string("formspec", shared(fields.shared))
meta:set_string("formspec", formspec(fields.shared))
if not fields then
return end
end