forked from minetest-mods/more_chests
Attempt to fix crash when placing shared chests.
This commit is contained in:
parent
df3dbc92d8
commit
314fd4e90e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user