mirror of
https://github.com/HybridDog/connected_chests.git
synced 2024-12-28 06:00:17 +01:00
🐈
This commit is contained in:
parent
ccf4f00f69
commit
63369ed073
2
init.lua
2
init.lua
@ -182,7 +182,7 @@ function connected_chests.register_chest(fromname, data)
|
|||||||
|
|
||||||
-- the left one contains inventory
|
-- the left one contains inventory
|
||||||
local chest = {}
|
local chest = {}
|
||||||
local origdef = table.copy(minetest.registered_nodes[fromname])
|
local origdef = minetest.registered_nodes[fromname]
|
||||||
for i in pairs(origdef) do
|
for i in pairs(origdef) do
|
||||||
chest[i] = rawget(origdef, i)
|
chest[i] = rawget(origdef, i)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user