mirror of
https://github.com/HybridDog/connected_chests.git
synced 2024-11-17 19:28:15 +01:00
Do not override tube fields in the original chest nodedef
This commit is contained in:
parent
e7718a0aa5
commit
24c17ac7d6
1
init.lua
1
init.lua
@ -206,6 +206,7 @@ function connected_chests.register_chest(fromname, data)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
if chest.tube then
|
if chest.tube then
|
||||||
|
chest.tube = table.copy(chest.tube)
|
||||||
chest.tube.connect_sides = {left = 1, back = 1, front = 1, bottom = 1, top = 1}
|
chest.tube.connect_sides = {left = 1, back = 1, front = 1, bottom = 1, top = 1}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user