mirror of
https://github.com/minetest-mods/more_chests.git
synced 2024-11-15 14:50:34 +01:00
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