mirror of
https://github.com/minetest-mods/more_chests.git
synced 2025-01-10 01:10:16 +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,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(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("infotext", "Shared Chest")
|
||||||
meta:set_string("owner", "")
|
meta:set_string("owner", "")
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
Loading…
Reference in New Issue
Block a user